C++11 Atomic and Memory model