Can anyone tell me how I can reset an ostrstream.
//... put stuff into os
cout << os.rdbuf();
//... at this point I would like to reset
//... to the beginning of the stream in order
//... to use it again.