std::basic_ostringstream::rdbuf

From cppreference.com
< cpp‎ | io‎ | basic ostringstream

std::basic_stringbuf <CharT, Traits, Allocator> * rdbuf( ) const ;

Returns pointer to the underlying raw string device object.

Parameters

(none)

Return value

Pointer to the underlying raw string device.

Example