std::basic_filebuf<CharT,Traits>::basic_filebuf
来自cppreference.com
                    
                                        
                    < cpp | io | basic filebuf
                    
                                                            
                    |   basic_filebuf();  | 
(1) | |
|   basic_filebuf( const std::basic_filebuf& rhs ) = delete;  | 
(2) | (C++11 起) | 
|   basic_filebuf( std::basic_filebuf&& rhs );  | 
(3) | (C++11 起) | 
构造新的 std::basic_filebuf 对象。
1) 构造 
std::basic_filebuf 对象,以调用 std::basic_streambuf 的默认构造函数初始化基类。创建的 basic_filebuf 不与文件关联,而 is_open() 返回 false 。3) 通过从另一 
std::basic_filebuf 对象 rhs 移动所有内容,包含缓冲区、关联的文件、 locale 、打开模式、 is_open 变量和所有其他状态移动构造 std::basic_filebuf 对象。移动后, rhs 不与文件关联且 rhs.is_open()==false 。保证 rhs 的基类和 *this 的基类 std::basic_streambuf 的成员指针指向不同缓冲区,除非它们为空。参数
| rhs | - |  另一 basic_filebuf
 | 
注意
典型地为 std::basic_fstream 的构造函数所调用。
示例
| 本节未完成 原因:暂无示例  | 
参阅
|    (C++11)  | 
  赋值 basic_filebuf 对象 (公开成员函数)  | 
|    [虚]  | 
  析构 basic_filebuf 对象并且在文件打开的情况下关闭文件 (虚公开成员函数)  |