共用方式為


istrstream Class

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

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

class istrstream : public istream

Remarks

The object stores an object of class strstreambuf.

注意

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

Requirements

Header: <strstream>

Namespace: std

See Also

Concepts

istrstream Members

istream

<strstream> Members

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions