public member function
<fstream>

std::filebuf::~filebuf

virtual ~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).