Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template swap

boost::container::swap

Synopsis

// In header: <boost/container/hub.hpp>


template<typename T, typename Allocator> 
  void swap(hub< T, Allocator > & x, hub< T, Allocator > & y);

Description

Effects: Equivalent to x.swap(y).

Complexity: Constant.


PrevUpHomeNext