std::basic_filebuf<CharT,Traits>::~basic_filebuf (3) - Linux Manuals

std::basic_filebuf<CharT,Traits>::~basic_filebuf: std::basic_filebuf<CharT,Traits>::~basic_filebuf

NAME

std::basic_filebuf<CharT,Traits>::~basic_filebuf - std::basic_filebuf<CharT,Traits>::~basic_filebuf

Synopsis


virtual ~basic_filebuf();


Calls close() to close the associated file and destructs all other members of basic_filebuf. If an exception is thrown by close(), it is caught and not rethrown.

Parameters


(none)

Return value


(none)

Notes


Typically called by the destructor of std::basic_fstream.

Example


 This section is incomplete
 Reason: no example

See also


              constructs a basic_filebuf object
constructor (public member function)
              flushes the put area buffer and closes the associated file
close (public member function)