std::basic_ostringstream::operator=

From cppreference.com
basic_ostringstream& operator=( basic_ostringstream&& other );
(since C++11)

Moves the string stream. The source stream becomes of invalid state after the operation.

Parameters

other - string stream to move. other becomes of invalid state after the operation.

Return value

*this

Example

See also

(C++11)
swaps two string streams
(public member function)