| Home | Libraries | People | FAQ | More

## Function template swap

boost::anys::swap

## Synopsis

    // In header: <boost/any/basic_any.hpp>

    template<std::size_t OptimizeForSize, std::size_t OptimizeForAlignment>
      void swap(basic_any< OptimizeForSize, OptimizeForAlignment > & lhs,
                basic_any< OptimizeForSize, OptimizeForAlignment > & rhs);

## Description

Exchange of the contents of `lhs` and `rhs`.

Throws: | Nothing.