Oh, that should be easy:
D1 *d1p;
ar << d1;
ar >> *d1p;
Robert Ramey
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@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users