Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template swap

boost::anys::swap

Synopsis

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


template< OptimizeForSize,  OptimizeForAlignment> 
   (basic_any<  lhs, 
            basic_any<  rhs);

Description

Exchange of the contents of lhs and rhs.

Throws:

Nothing.

PrevUpHomeNext