std::basic_stringstream::swap
来自cppreference.com
void swap( basic_stringstream& other );
|
(C++11 起) | |
交换流与 other 的状态。
通过调用 basic_iostream<CharT, Traits>::swap(other) 和 rdbuf()->swap(*other.rdbuf()) 进行。
| other | - | 要交换状态的流 |
(无)
可能会抛出由实现定义的异常。
| 本节未完成 原因:暂无示例 |
(C++11) |
移动字符串流 (公开成员函数) [编辑] |
(C++11) |
交换两个 basic_stringbuf 对象 ( std::basic_stringbuf<CharT,Traits,Allocator> 的公开成员函数) [编辑]
|