
Hello
could you help please? what is the easiest way to (de)serialize a member
of type vector

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
(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
participants (2)
-
Robert Ramey
-
Zoltan Szatmary