Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template swap

boost::interprocess::swap

Synopsis

template<typename T, typename D> 
  void swap(scoped_ptr< T, D > & a, scoped_ptr< T, D > & b);

Description

Exchanges the internal pointer and deleter with other scoped_ptr Never throws.


PrevUpHomeNext