rdbuf

Syntax:

    #include <sstream>
    stringbuf* rdbuf();

The rdbuf() function returns a pointer to the string buffer for the current string stream.

Related Topics: str, C++ I/O Streams