I quote the Boost serialization docs:

 

When serializing an object through a pointer to its base class and that base class is abstract (i.e. has at least one virtual function assigned a value of 0), A compile error will be emitted. This is addressable in one over several ways:

I still do not understand part 2 of this advice, Robert. Could you explain?

 

Jean-Noël

 

Ps: as already mentioned, part 3 does not change anything for me, and I’d like to avoid the solution of part 1 since I do want the base class to be abstract.