
17 Sep
2006
17 Sep
'06
7:26 p.m.
"Robert Ramey" <ramey@rrsd.com> wrote: news:eeka26$30v$1@sea.gmane.org...
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 !!!