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

Function template swap
PrevUpHomeNext

Function template swap

boost::interprocess::swap

Synopsis

template<typename T, typename VP> 
  void swap(intrusive_ptr< T, VP > & lhs, intrusive_ptr< T, VP > & rhs);

Description

Exchanges the contents of the two intrusive_ptrs. Does not throw


PrevUpHomeNext