W3cubDocs

/C++

std::basic_stringstream::operator=

basic_stringstream& operator=( basic_stringstream&& 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)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/io/basic_stringstream/operator=