basic_ostringstream::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>.

Remarks

The member function returns 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_ostringstream Class

iostream Programming

iostreams Conventions