std::basic_ostringstream::rdbuf

From cppreference.com