public member function
<sstream>

std::basic_istringstream::operator=

copy (1)
basic_istringstream& operator= (const basic_istringstream&) = delete;
move (2)
basic_istringstream& operator= (basic_istringstream&& rhs);
Move assignment
Acquires the contents of rhs, by move-assigning its members and base classes.

Move assigning its internal basic_stringbuf object leaves unspecified whether the internal sequence of characters is the one in rhs before the call, or a copy of it. In any case, both objects use independent sequences after the call.

Parameters

rhs
Another basic_istringstream object with the same template parameters (charT, traits and Alloc).

Return Value

*this

Data races

Modifies both stream objects (*this and rhs).

Exception safety

No-throw guarantee: this member function never throws exceptions.

See also