How to “activate” c++11 standard in visual studio 2010?

后端 未结 4 1694
走了就别回头了
走了就别回头了 2021-01-12 01:47

I am new to c++ programming and I need to use the Thread class in my VS 2010 project. I\'ve found this reference, but when I try the following:

#include <         


        
4条回答
  •  情歌与酒
    2021-01-12 02:27

    The Visual C++ compiler is not fully C++11 compatible. C++11 features had been supported since Visual Studio 2010 and added incrementally. Not even the next version of Visual Studio will provide full C++11 compatibility. A matrix of C++11 features available in different versions of Visual Studio can be found here:

    • C++0x Core Language Features In VC10: The Table
    • C++11 Features in Visual C++ 11
    • C++11/14 STL Features, Fixes, And Breaking Changes In VS 2013

提交回复
热议问题