std::basic_istringstream::swap
来自cppreference.com
                    
                                        
                    < cpp | io | basic istringstream
                    
                                                            
                    
|   void swap( basic_istringstream& other );  | 
(C++11 起) | |
交换流与 other 的状态。
通过调用 basic_istream<CharT, Traits>::swap(other) 和 rdbuf()->swap(*other.rdbuf()) 进行。
参数
| other | - | 要交换状态的流 | 
返回值
(无)
示例
| 本节未完成 原因:暂无示例  | 
参阅
|    (C++11)  | 
  移动字符串流  (公开成员函数)  | 
|    (C++11)  | 
  交换二个 basic_stringbuf 对象  ( std::basic_stringbuf<CharT,Traits,Allocator> 的公开成员函数)  |