|
Boost Users : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-03-26 12:18:15
Oh, that should be easy:
D1 *d1p;
ar << d1;
ar >> *d1p;
Robert Ramey
"Andrei Popa" <andrei4popa_at_[hidden]> wrote in message news:BAY103-W524E2BB7B363F59FA72587E0FF0_at_phx.gbl...
Hi,
First of all, thanks for that "NEW" remark, this is an important information for me.
It is not about the D2, I do not intend to copy data from an object of a type into an object of an other type.
ar << d1;
ar >> bp;// but "bp" points already to an object of type D1
I'm trying to read in data from archive into the object pointed by bp. Is this possible?
If not. What other possibilities do I have? Any workaround?
Thanks,
Andrei
------------------------------------------------------------------------------
Connect to the next generation of MSN Messenger Get it now!
------------------------------------------------------------------------------
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
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