Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template swap

boost::stl_interfaces::swap

Synopsis

// In header: <boost/stl_interfaces/sequence_container_interface.hpp>


template<typename ContainerInterface> 
  decltype(v1_dtl::derived_container(lhs), lhs.swap(rhs)) 
  swap(ContainerInterface & lhs, ContainerInterface & rhs);

Description

Implementation of free function swap() for all containers derived from sequence_container_interface.


PrevUpHomeNext