共用方式為


istrstream::rdbuf

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

strstreambuf *rdbuf( ) const

Return Value

A pointer to the stream's associated strstreambuf object.

Remarks

The member function returns the address of the stored stream buffer, of type pointer to strstreambuf.

Example

See strstreambuf::pcount for a sample that uses rdbuf.

Requirements

Header: <strstream>

Namespace: std

See Also

Reference

istrstream Class

iostream Programming

iostreams Conventions