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_xchg

boost::compute::atomic_xchg

Synopsis

// In header: <boost/compute/functional/atomic.hpp>

template<typename T> 
class atomic_xchg : public function< T(T *, T)> {
public:
  // construct/copy/destruct
  atomic_xchg();
};

Description

atomic_xchg public construct/copy/destruct

  1. atomic_xchg();

PrevUpHomeNext