c++ - Visual Studio 2012 __cplusplus 和 C++ 11

标签 c++ visual-studio visual-c++ c++11

有人知道为什么 __cplusplus 在我的 Visual Studio 2012 c++ 项目中被定义为 199711L(这是“旧的”C++)吗?它不应该说 201103L 因为 VS 2012 现在有 C++ 11 支持吗?即使我包含 C++ 11 header ,它仍然被错误定义。有什么线索吗?

最佳答案

关于c++ - Visual Studio 2012 __cplusplus 和 C++ 11,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46117953/

相关文章:

c++ - 如何用顶级 const 解决这个问题?

c++ - 函数参数求值顺序

c++ - Makefile 无法找到 *.o 文件来生成 .exe

c++ - CComSafeArray : Are Indices Really Reversed for MultiDimSetAt and MultiDimGetAt?

c++ - 如何更改 .pch 文件位置(Visual Studio 2008)?

sql - 作为作业运行时,SSIS 包从 Excel 加载数据失败

c++ - Visual C++ 编译器与其他 C++ 编译器的比较

c++ - 如何在 winhttp 中检索特定站点和路径的 cookie

c++ - 如何在匿名命名空间中调用可变参数模板助手?

c++ - 弃用 _writeBarrier()