$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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