------- Comment #1 from redi at gcc dot gnu dot org 2010-09-09 19:19 ------- this isn't specific to strstreams
#include <iostream> #include <sstream> using namespace std; int main() { stringstream io; io.ios::fill('@'); io.flags(ios::internal); io.width( 10 ); io << (void *) 123 << ' '; cout << "String: " << io.str() << endl; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45618