Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2008-08-23 03:19:25


> I create somwhere in my program several "derived" elements (which are
> serialized at this point)
>
> After, I put them in the m_Elements vector of myclass (hérited from
> ElementList<base>). So, the "derived" are stored as "base" elements
> and the problem is that they are serialized as "base" elements and
> not "derived" elements.
>
> Have you got an idea of how I can solve this issue?

this is described in the documentation under serialization of pointers

Robert Ramey


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