Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2004-12-07 13:44:31


As usual, things turn out to be more complex than first meets the eye.

I believe this could be addressed by making our implementation of
memento_iarchive adaptor
a little more elaborate. Perhaps this could be done by overloading the
following from iserializer.hpp

"Sergey Skorniakov" <s.skorniakov_at_[hidden]> wrote in message
news:cp4hbt$vqm$1_at_sea.gmane.org...
> Hello, Sergey!
> You wrote to Robert Ramey on Tue, 7 Dec 2004 12:42:01 +0300:
>
> SS> Thanks, Robert. This great! No one can say why I tried to override
> SS> load_pointer member. If I already know real object types, I can just
> SS> create special output archive and load objects with incompatible
input
> SS> archives, without worring about tracking and object creation stuff.
> SS> This works fine.
>
> Unfortunately, I was to hasty with conlusions - this solution doesn't work
> when objects serialized by base class pointers.
>
> With best regards, Sergey.


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