std::basic_istringstream::operator=

basic_istringstream& operator=( basic_istringstream&& other );
(C++11 起)

移动赋值字符串流 other*this ,等效的移动赋值 std::basic_istream 基类和关联的 std::basic_stringbuf

注意,基类移动赋值交换 *thisother 间的所有流状态变量(除了 rdbuf )。

参数

other - 移动来源的字符串流

返回值

*this

示例

参阅

(C++11)
交换两个字符串流
(公开成员函数)
(C++11)
赋值 basic_stringbuf 对象
(std::basic_stringbuf<CharT,Traits,Allocator> 的公开成员函数)
(C++11)
从另一 basic_istream 移动赋值
(受保护成员函数)