std::swap(std::basic_ostringstream)

Header: <sstream>

Overloads the std::swap algorithm for std::basic_ostringstream. Exchanges the state of lhs with that of rhs. Effectively calls lhs.swap(rhs).

# Declarations

template< class CharT, class Traits, class Alloc >
void swap( std::basic_ostringstream<CharT,Traits,Alloc>& lhs,
std::basic_ostringstream<CharT,Traits,Alloc>& rhs );

(since C++11)

# Parameters

# Return value

(none)

# Example

This section is incompleteReason: no example

# See also