[serialization] "unregistered void cast" error -- what does it mean?

Hi all
I have been getting an 'unregistered void cast' *runtime* error message
following some apparently unrelated changes to my code.
Can anyone possibly clarify the cases when it is necessary to use
"void_cast_register" with Boost::Serialization?
I think that the error is coming from attempts to serialize this class:
class MirrorBundleIndexed
: public std::map

John Pye wrote:
Can anyone possibly clarify the cases when it is necessary to use "void_cast_register" with Boost::Serialization?
void_cast_register is invoked to register the relationship between a base class and derived class. Usually its automatic when a derived class serializes its base. When this doesn't occur, it has to be done explicitly. This is described in the manual. Robert Ramey
participants (2)
-
John Pye
-
Robert Ramey