Share via


basic_istringstream::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_istringstream Class

iostream Programming

iostreams Conventions