std::basic_istringstream::rdbuf

From cppreference.com

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

Returns pointer to the underlying raw string device object.

[edit] Parameters

(none)

[edit] Return value

pointer to the underlying raw string device.

[edit] Example