有谁知道为什么 __cplusplus
在我的 Visual Studio 2012 c++ 项目中被定义为 199711L
(这是旧的"C++)?难道不应该说 201103L
因为 VS 2012 现在有 C++ 11 支持吗?即使我包含 C++ 11 头文件,它仍然是错误定义的.有什么线索吗?
Anyone know why __cplusplus
is defined as 199711L
(which is the "old" C++) in my Visual Studio 2012 c++ project? Should it not say 201103L
since VS 2012 now has C++ 11 support? Even if I include C++ 11 headers it still is wrongly defined. Any clues?
这个已经提交给微软审核:
This has already been submitted to Microsoft for review:
预定义宏的值__cplusplus 还是 199711L
这篇关于Visual Studio 2012 __cplusplus 和 C++ 11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!