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 <
std::thread
is obviously not in VS 2010. I think it was added with VS 2012, which is also supported by this question and answer. Is there any specific reason you're using 2010 rather than the latest version, 2013, which supports far more part of C++11?
Also to note: Contrary to GCC, MSVC doesn't have an "opt-in" for newer standards. It just supports them out of the box as far as implemented.