basic_filebuf();
Effects: Constructs an object of class basic_Βfilebuf<charT, traits>, initializing the base class with basic_Βstreambuf<charT, traits>() ([streambuf.cons]).
basic_filebuf(basic_filebuf&& rhs);
Effects: Move constructs from the rvalue rhs. It is implementation-defined whether the sequence pointers in *this (eback(), gptr(), egptr(), pbase(), pptr(), epptr()) obtain the values which rhs had. Whether they do or not, *this and rhs reference separate buffers (if any at all) after the construction. Additionally *this references the file which rhs did before the construction, and rhs references no file after the construction. The openmode, locale and any other state of rhs is also copied.
Postconditions: Let rhs_Βp refer to the state of rhs just prior to this construction and let rhs_Βa refer to the state of rhs just after this construction.
is_Βopen() == rhs_Βp.is_Βopen()
rhs_Βa.is_Βopen() == false
gptr() - eback() == rhs_Βp.gptr() - rhs_Βp.eback()
egptr() - eback() == rhs_Βp.egptr() - rhs_Βp.eback()
pptr() - pbase() == rhs_Βp.pptr() - rhs_Βp.pbase()
epptr() - pbase() == rhs_Βp.epptr() - rhs_Βp.pbase()
if (eback()) eback() != rhs_Βa.eback()
if (gptr()) gptr() != rhs_Βa.gptr()
if (egptr()) egptr() != rhs_Βa.egptr()
if (pbase()) pbase() != rhs_Βa.pbase()
if (pptr()) pptr() != rhs_Βa.pptr()
if (epptr()) epptr() != rhs_Βa.epptr()
virtual ~basic_filebuf();
Effects: Destroys an object of class basic_Βfilebuf<charT, traits>. Calls close(). If an exception occurs during the destruction of the object, including the call to close(), the exception is caught but not rethrown (see [res.on.exception.handling]).