title: Write output stream to a string
body: <p>I have a stream object <code>std::stringstream</code> and I want to get whatever it currently has as a <code>std::string</code>. Is that possible? I want it for output to my graphic console. </p>