#include <strstrea.h>
The strstreambuf class is a derived class of streambuf that manages an in-memory character array.
The file stream classes, ostrstream, istrstream, and strstream, use strstreambuf member functions to fetch and store characters. Some of these member functions are virtual functions defined for the streambuf class.
The reserve area, put area, and get area were introduced in the streambuf class description. For strsteambuf objects, the put area is the same as the get area, but the get pointer and the put pointer move independently.
Construction/Destruction — Public Members
Constructs a strstreambuf object.
Destroys a strstreambuf object.
Other Functions — Public Members
Freezes a stream.
Returns a pointer to the string.
See Also istrstream, ostrstream, filebuf, stdiobuf