std::basic_ios<CharT,Traits>::move
来自cppreference.com
                    
                                        
                    
                    
                                                            
                    |   protected: void move( basic_ios& other );  | 
(C++11 起) | |
|   protected: void move( basic_ios&& other );  | 
(C++11 起) | |
以 other 的状态替换当前状态,除了关联的 rdbuf 。调用后 other 在合法,但未指定的状态。调用此函数后, rdbuf() 返回空指针,而 other.rdbuf() 返回与调用前相同的值,且 other.tie() 返回空指针。
此成员函数受保护:它为派生流类 std::basic_ostream 和 std::basic_istream 的受保护移动构造函数所调用,进而为进一步派生的流类,如 std::basic_ofstream 的公开移动构造函数所调用,它们知道如何正确地移动关联流缓冲。
参数
| other | - |  转移状态来源的 basic_ios 对象
 | 
返回值
(无)
参阅
|    (C++11)  | 
  与另一 std::basic_ios 交换,除了 rdbuf  (受保护成员函数)  |