|
Boost Users : |
From: Johan Råde (rade_at_[hidden])
Date: 2007-05-09 06:59:35
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 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