public member function
<fstream>

std::basic_filebuf::~basic_filebuf

virtual ~basic_filebuf();
Destruct object
Destroys the object.

Before being destroyed, member function close is automatically called.

Data races

The object is modified.

Exception safety

No-throw guarantee: never throws exceptions (any exception thrown by an internal operation is caught by the constructor and not rethrown).