$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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