...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::compute::atomic_cmpxchg
// In header: <boost/compute/functional/atomic.hpp> template<typename T> class atomic_cmpxchg : public function< T(T *, T, T)> { public: // construct/copy/destruct atomic_cmpxchg(); };