18 Sep
2006
18 Sep
'06
1:26 a.m.
"Robert Ramey"
Make the following change:
*oa << obj_fr; std::cout << "-- archive content: >" << archbuf.str() << "<\n"; archbuf.flush(); // make this change
This change had no effect.
delete oa;
boost::archive::text_iarchive *ia = new boost::archive::text_iarchive( archbuf, 3 ); *ia >> obj_to; std::cout << *obj_to;
*ia >> obj_to; // ARCHIVE IS OVER. BOOM !!!