public member function
<sstream>

std::stringstream::operator=

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

移動(2)將它的內部 stringbuf 物件留給未定義,未指定的是否在呼叫後內部字元序列是 rhs 中的序列,還是它的副本。在任何情況下,呼叫後兩個物件都使用獨立的序列。

引數

rhs
另一個 stringstream 物件。

返回值

*this

資料競爭

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

異常安全

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

另見