basic_stringstream::rdbuf

Returns the address of the stored stream buffer of type pointer to basic_stringbuf<Elem, Tr, Alloc>.

basic_stringbuf<Elem, Tr, Alloc> *rdbuf( ) const;

Return Value

The address of the stored stream buffer of type pointer to basic_stringbuf<Elem, Tr, Alloc>.

Example

See basic_filebuf::close for an example that uses rdbuf.

Requirements

Header: <sstream>

Namespace: std

See Also

Reference

basic_stringstream Class

iostream Programming

iostreams Conventions

Other Resources

basic_stringstream Members