
17 Apr
2007
17 Apr
'07
2:41 a.m.
Ah - that makes sense (and works). Thanks! Ruediger Robert Ramey wrote:
try something like the following:
main() { test Test(1);
// I want a stringstream, as my applicion is in remote processing ostringstream oss; assert(oss.good()); { boost::archive::xml_oarchive oa(oss); oa << BOOST_SERIALIZATION_NVP(Test); } // oa destructor invoked - puts end tag on archive ... }