mardi 31 mars 2015

C++11 thread support in large compilers

I need to know since when gcc and Intel C++ compiler support the C++11 style libraries thread, mutex, atomic (all together).


Or formulated differentely:

Since when can you compile the following without special flags:



#include <thread>
#include <mutex>
#include <atomic>

int main()
{
std::thread TestObject1;
std::atomic<int> TestObject2;
std::mutex TestObject3;
return;
}


Please also provide the compile-time-constant for the specific version.


Aucun commentaire:

Enregistrer un commentaire