Syntax
Protected: virtual ~streambuf();
Remarks
The streambuf destructor flushes the buffer if the stream is being used for output.