Boost logo

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, kalb at, bjorn.karlsson at, gregod at, wekempf at