Does VC++ 2010 Express not have std::thread? I am using the multi-threaded DLL. The compiler does not find the header file , nor does it recognize std::thread::hardware_concurrency. Is there some setting I need to fix, or is it just missing? (July 2012, latest and greatest.)
1 Answer
std::thread was added in C++11 which is still relatively recent.
VC++ 2010 doesn't support it. But VC++ 2012 should have it.
4 Comments
Jive Dadson
Thanks. Do you know, will it be available in a freebie compiler like VC++ Express, and if so when?
Neil
Express will have the same C++11 support as the Pro version.
Mysticial
AFAIK, the things they nuke from the Express versions are not language related. Just usability features.
Mysticial
Here's a list of things that aren't in VC++ Express 2010: stackoverflow.com/questions/3164970/… I'd assume that VC++ 2012 wouldn't be too different.