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

PrevUpHomeNext

Function template swap

boost::stl_interfaces::swap

Synopsis

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


template<typename ContainerInterface> 
  constexpr auto swap(ContainerInterface & lhs, ContainerInterface & rhs);

Description

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


PrevUpHomeNext