返回存储的流缓冲区的地址。
basic_filebuf<Elem, Tr> *rdbuf( ) const
返回值
为表示存储区的流缓冲区的 basic_filebuf 对象的指针。
示例
使用 rdbuf的示例参见 basic_filebuf::close。
要求
标头: <fstream>
命名空间: std
返回存储的流缓冲区的地址。
basic_filebuf<Elem, Tr> *rdbuf( ) const
为表示存储区的流缓冲区的 basic_filebuf 对象的指针。
使用 rdbuf的示例参见 basic_filebuf::close。
标头: <fstream>
命名空间: std