std::atomic is used as underlying implementation for the the Qt atomic API with CLang on Mac. But why not with Visual Studio 2015? You will certainly mention some bug, but then where is the problem? (shortly) Thanks Philippe