ostream::~ostream

Syntax

virtual ~ostream();

Remarks

Destroys an ostream object. The output buffer is flushed as appropriate. The attached streambuf object is destroyed only if it was allocated internally within the ostream constructor.