Share via


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

ostrstream Class

iostream Programming

iostreams Conventions

Other Resources

ostrstream Members