Visual Studio 2012 __cplusplus和C ++ 11 [英] Visual Studio 2012 __cplusplus and C++ 11

查看:115
本文介绍了Visual Studio 2012 __cplusplus和C ++ 11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人知道为什么 __ cplusplus 在我的Visual Studio中定义为 199711L (这是旧的C ++) 2012 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?

推荐答案

这已提交给Microsoft审查:

This has already been submitted to Microsoft for review:

预定义宏的值__cplusplus仍然是199711L

这篇关于Visual Studio 2012 __cplusplus和C ++ 11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆