|
Boost Users : |
From: Konstantin Andreev (plafcow4odno_at_[hidden])
Date: 2006-09-17 21:26:40
"Robert Ramey" <ramey_at_[hidden]> wrote: news:eeka26$30v$1_at_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 !!!
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net