2

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 1

3

std::thread was added in C++11 which is still relatively recent.

VC++ 2010 doesn't support it. But VC++ 2012 should have it.

Sign up to request clarification or add additional context in comments.

4 Comments

Thanks. Do you know, will it be available in a freebie compiler like VC++ Express, and if so when?
Express will have the same C++11 support as the Pro version.
AFAIK, the things they nuke from the Express versions are not language related. Just usability features.
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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.