public member function
<sstream>

std::basic_ostringstream::operator=

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

移動賦值其內部的basic_stringbuf物件,其呼叫前後內部字元序列是否為rhs中的內容,或者其副本,均未指定。無論如何,呼叫後兩個物件使用獨立的序列。

引數

rhs
另一個具有相同模板引數(charTtraitsAlloc)的basic_ostringstream物件。

返回值

*this

資料競爭

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

異常安全

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

另見