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 to view this page for the latest version.
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