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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template swap

boost::stl_interfaces::v1::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