¡@

Home 

c++ Programming Glossary: ss2

how copy from one stringstream object to another in C++?

http://stackoverflow.com/questions/3442520/how-copy-from-one-stringstream-object-to-another-in-c

another copy from this one. I try this std stringstream ss2 ss1 or std stringstream ss2 ss1 neither works The error message.. I try this std stringstream ss2 ss1 or std stringstream ss2 ss1 neither works The error message is like this std ios basic_ios.. ss1 ss1 some 123 stuff std flush std stringstream ss2 ss2 ss1.rdbuf copy everything inside ss1's buffer to ss2's buffer..

Using boost::iostreams::tee_device?

http://stackoverflow.com/questions/670465/using-boostiostreamstee-device

std stringstream std stringstream Tee std stringstream ss1 ss2 Tee my_split ss1 ss2 redirects to both streams my_split Testing.. stringstream Tee std stringstream ss1 ss2 Tee my_split ss1 ss2 redirects to both streams my_split Testing assert ss1.str Testing.. streams my_split Testing assert ss1.str Testing ss1.str ss2.str But it won't compile in VC9 c lib boost_current_version..