...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Boost.Atomic provides a unit test suite to verify that the implementation behaves as expected:
atomic_ref
rather than atomic
and
atomic_flag
. It is a
rough "smoke-test" to help weed out the most obvious mistakes
(for example width overflow, signed/unsigned extension, ...). These tests
are also run with BOOST_ATOMIC_FORCE_FALLBACK
macro defined to test the lock pool based implementation.
A C++11 (or later) compiler is required by the library. Boost.Atomic has been tested on and is known to work on the following compilers/platforms: