Partager via


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

Concepts

basic_ostringstream Class

basic_ostringstream Members

iostream Programming

iostreams Conventions