Boost C++ Libraries 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.

Function template swap

boost::log::swap — Free swap function.


// In header: <boost/log/utility/value_ref.hpp>

template<typename T, typename TagT> 
  void swap(value_ref< T, TagT > & left, value_ref< T, TagT > & right);