std::basic_iostream<CharT,Traits>::swap
Min standard notice:
Exchanges the state with another input/output stream object. Effectively calls basic_istream<CharT,Traits>::swap(other).
# Declarations
protected:
void swap( basic_iostream& other );
(since C++11)
# Parameters
other: another stream to exchange the state with
# Return value
*this