public member function
<sstream>

std::istringstream::operator=

copy (1)
istringstream& operator= (const istringstream&) = delete;
move (2)
istringstream& operator= (istringstream&& rhs);
移動賦值
獲取rhs的內容,透過移動賦值其成員和基類。

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.

引數

rhs
Another istringstream object.

返回值

*this

資料競爭

修改兩個流物件(*thisrhs)。

異常安全

無異常保證:此成員函式從不丟擲異常。

另見