strstream::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

Concepts

strstream Class

strstream Members

iostream Programming

iostreams Conventions