prog.cpp:5:27: error: use of deleted function ‘std::atomic<int>::atomic(const std::atomic<int>&)’
In file included from prog.cpp:2:0:
/usr/include/c++/4.7/atomic:594:7: error: declared here
prog.cpp:6:35: error: use of deleted function ‘std::atomic<int>::atomic(const std::atomic<int>&)’
In file included from prog.cpp:2:0:
/usr/include/c++/4.7/atomic:594:7: error: declared here
prog.cpp:7:32: error: use of deleted function ‘std::atomic<bool>::atomic(const std::atomic<bool>&)’
In file included from prog.cpp:2:0:
/usr/include/c++/4.7/atomic:480:7: error: declared here