istrstream Class

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

class istrstream : public istream

Remarks

The object stores an object of class strstreambuf.

Note

This class is deprecated. Consider using istringstream or wistringstream instead.

Constructors

istrstream

Constructs an object of type istrstream.

Member Functions

rdbuf

Returns a pointer to the stream's associated strstreambuf object.

str

Calls freeze, and then returns a pointer to the beginning of the controlled sequence.

Requirements

Header: <strstream>

Namespace: std

See Also

Reference

istream

Thread Safety in the C++ Standard Library

iostream Programming

iostreams Conventions