How do I convert from std::stringstream to std::string in C++?

Do I need to call a method on the string stream?

Edit
Report