I got it, thank you very much Barr Ng
From: Johan Råde
Reply-To: boost-users@lists.boost.org To: boost-users@lists.boost.org Subject: Re: [Boost-users] boost serialization, is it compulsory to construct object when perform de-serial Date: Wed, 09 May 2007 12:59:35 +0200 Ng Pan wrote:
Hi
I wonder is it compulsory to construct object when perform de-serialization. In my appliation, I just wanna update the memeber attribute from deserialization.
Best regards Barr Ng
_________________________________________________________________ Learn English via Shopping Game, FREE! http://www.linguaphonenet.com/BannerTrack.asp?EMSCode=MSN06-03ETFJ-0211E
<some archive type> ar; X* x;
ar & x; // constructs the object when deserializing ar & *x; // does what you want
-- Johan Råde
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_________________________________________________________________ Get 10Mb extra storage for MSN Hotmail. Subscribe Now! http://join.msn.com/?pgmarket=en-hk