Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is an old version of boost. Click here for the latest version's documentation home page.


Boost.Asio's implementation can use std::atomic<> in preference to boost::detail::atomic_count.

Support for the standard atomic integer template is automatically enabled for g++ 4.5 and later, when the -std=c++0x or -std=gnu++0x compiler options are used. It may be disabled by defining BOOST_ASIO_DISABLE_STD_ATOMIC, or explicitly enabled for other compilers by defining BOOST_ASIO_HAS_STD_ATOMIC.