strstream Class
Describes an object that controls insertion and extraction of elements and encoded objects using a stream buffer of class strstreambuf.
class strstream : public iostream
Remarks
The object stores an object of class strstreambuf.
Note
This class is deprecated. Consider using stringstream or wstringstream instead.
Constructors
Constructs an object of type strstream. |
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
See Also
Reference
Thread Safety in the Standard C++ Library