Here is what I found myself.
To "activate" C ++ 11 in visual studio, you need to install the "Platform Toolset" in the project-> to v110 or higher properties. So that the visual studio understands that it must use the functions of C ++ 11.
BUT!
The Visual C ++ Compiler is not fully compatible with C ++ 11. C ++ 11 features were supported with Visual Studio 2010 and added gradually. Even the next version of Visual Studio will not provide full compatibility with C ++ 11.
Marius Bansila
So it worked for <thread> (and <future> ) in visual studio 2012.
As I believe, it is impossible to install Platform Toolset above v100 in vs2010, therefore it is impossible to "activate" C ++ 11 in vs2010.
Conclusion: to use the standard C ++ 11 features in visual studio, you will need to use the 2012 version and later, which supports Platform Toolset v110 and higher.
Correct me, please, if I am wrong!
source share