Boost C++ Libraries

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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Class template atomic_cmpxchg

boost::compute::atomic_cmpxchg

Synopsis

// 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();
};

Description

atomic_cmpxchg public construct/copy/destruct

  1. atomic_cmpxchg();

PrevUpHomeNext