Oh, that should be easy:
 
D1 *d1p;
 
ar << d1;
ar >> *d1p;
 
Robert Ramey
 
"Andrei Popa" <andrei4popa@hotmail.com> wrote in message news:BAY103-W524E2BB7B363F59FA72587E0FF0@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@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users