std::swap(std::basic_ostringstream)
来自cppreference.com
                    
                                        
                    < cpp | io | basic ostringstream
                    
                                                            
                    
|   在标头  <sstream> 定义
  | 
||
|   template< class CharT, class Traits, class Alloc > void swap( std::basic_ostringstream<CharT,Traits,Alloc>& lhs,  | 
(C++11 起) | |
对 std::basic_ostringstream 重载 std::swap 算法。交换 lhs 与 rhs 的状态。等效地调用 lhs.swap(rhs) 。
参数
| lhs, rhs | - | 要交换状态的流 | 
返回值
(无)
异常
可能会抛出由实现定义的异常。
示例
| 本节未完成 原因:暂无示例  | 
参阅
|    (C++11)  | 
   交换两个字符串流   (公开成员函数)  |