I’ve been reading about various new additions to c++ recently that i’m really excited about and i’ve already been through the new std::unique_ptr and std::shared_ptr objects, which are incredibly useful, and now i’m looking for that native thread library i’ve heard about and can’t seem to find it anywhere. I was reading and went looking for thread.h and msvc++ 2010 express doesn’t seem to have it. Did the newest versions of msvc++ not come with this new thread library, or is it just the express version that doesn’t come with it, or am i just being silly and have to go looking for a copy of it on the internet? I currently have to do threading via windows functions which i feel are overcomplicated when trying to use mutexes and they’re also operating system specific, so i’m really excited to find this standard library implementation :\
I’ve been reading about various new additions to c++ recently that i’m really excited
Share
Not all C++11 changes are in the Visual C++ 2010 compiler. You will need to use boost::thread or just::thread as alternatives, or use the Visual Studio 11 Beta: