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::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