|
Boost Users : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2005-01-19 01:21:32
Look in the documentation under Reference/Class Serialization/const members
Robert Ramey
Zoltan Szatmary wrote:
> Hello
>
> could you help please? what is the easiest way to (de)serialize a
> member of type vector<const A*> (A being a base class)? Serializing
> is fine, but deserialization fails to compile since the vector
> deserialization code tries to deserialize a const A* pointer without
> const_cast-ing it (I guess).
>
> Thank you in advance
>
> Zoltan
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