std::basic_istringstream::operator=
來自 cppreference.com
< cpp | io | basic istringstream
basic_istringstream& operator=( basic_istringstream&& other ); |
(C++11 起) | |
將字串流 other 移動賦值給 *this,從而有效地移動賦值 std::basic_istream 基類和關聯的 std::basic_stringbuf。
注意,基類移動賦值會交換 *this 和 other 之間所有流狀態變數(除了 rdbuf)。
目錄 |
[edit] 引數
其他 | - | 要從中移動的字串流 |
[edit] 返回值
*this
[edit] 示例
本節不完整 原因:無示例 |
[edit] 參閱
(C++11) |
交換兩個字串流 (public member function) |
(C++11) |
賦值一個 basic_stringbuf 物件(public member function of std::basic_stringbuf<CharT,Traits,Allocator> ) |
(C++11) |
從另一個 basic_istream 移動賦值(protected member function) |