ostrstream Class

Describes an object that controls insertion of elements and encoded objects into a stream buffer of class strstreambuf.

For a list of all members of this type, see ostrstream Members.

class ostrstream : public ostream 

Remarks

The object stores an object of class strstreambuf.

注意

This class is deprecated. Consider using ostringstream or wostringstream instead.

Requirements

Header: <strstream>

Namespace: std

See Also

Concepts

ostrstream Members

ostream

<strstream> Members

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions