public member function


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

Move assigning its internal 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.


Another istringstream object.

Return Value


Data races

Modifies both stream objects (*this and rhs).

Exception safety

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

See also