I know that C++11 provides <atomic>, but this isn’t implemented by any compiler except GCC 4.7. Is anyone aware of a library that follows the standard (i.e, would be interchangeable with <atomic> once it becomes more widely available) and works on older versions of gcc/msvc?
I know that C++11 provides <atomic> , but this isn’t implemented by any compiler
Share
The Boost.Atomic library and Just Thread.
Threading Building Blocks also supplies atomics, but they are not totally standard conformant.