std::basic_stringstream::rdbuf

From cppreference.com

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