I am using g ++ version 4.4.3 on Ubuntu OS. According to this matrix here , it should also support std::atomic . Every time i use
#include <atomic>
the compiler gives me an error and says error: atomic: No such file or directory .
Are you having the same issue? I compile using the following line
g++ -std=c++0x -Wall myCode.cpp -o myApp</code>
atomic c ++ 11 g ++
Abruzzo forte e gentile
source share