|
Boost Users : |
From: Ng Pan (panng_wts_at_[hidden])
Date: 2007-05-09 23:28:08
I got it, thank you very much
Barr Ng
>From: Johan Råde <rade_at_[hidden]>
>Reply-To: boost-users_at_[hidden]
>To: boost-users_at_[hidden]
>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_at_[hidden]
>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
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