ostrstream Class
Describes an object that controls insertion of elements and encoded objects into a stream buffer of class strstreambuf.
class ostrstream : public ostream
Remarks
The object stores an object of class strstreambuf.
Note
This class is deprecated. Consider using ostringstream or wostringstream instead.
Constructors
Constructs an object of type ostrstream. |
Member Functions
Causes a stream buffer to be unavailable through stream buffer operations. |
|
Returns a count of the number of elements written to the controlled sequence. |
|
Returns a pointer to the stream's associated strstreambuf object. |
|
Calls freeze, and then returns a pointer to the beginning of the controlled sequence. |
Requirements
Header: <strstream>
Namespace: std