
27 Aug
2010
27 Aug
'10
2:33 p.m.
-> [boost-users] Zitat von Jeff Flinn <TriumphSprint2000@hotmail.com>:
Is it expected that the calls to register_type need to be identical on both the save and load side of a serialization exchange?
yes it is. register_type writes class info to your archive, which has to be read in the same order.
oa.register_type(static_cast<A*>(0));
oa.register_type<A>(); -Stefan