ostrstream::~ostrstream

~ostrstream();

Remarks

Destroys an ostrstream object and its associated strstreambuf object, thus releasing all internally allocated memory. If you used the void-argument constructor, the internally allocated character buffer is released; otherwise, you must release it.

An internally allocated character buffer will not be released if it was previously frozen by an str or strstreambuf::freeze function call.

ostrstream OverviewOutput Stream Classes

See Also   ostrstream::str, strstreambuf::freeze