Serializing using base pointer gives "unregistered void cast" exception

20 Jan
2010
20 Jan
'10
11:39 a.m.
Class hiarchy: --- Event EventNotification EventNotificationUser --- Each class calls boost::serialization::base_object<...>(*this); and has BOOST_CLASS_EXPORT_GUID(..., "...") at the end of their header.
From what I can gather from the manual this is what's needed for boost to know the types and be able to serialize them, but I still get "unregistered void cast" exception when I do this:
EventNotificationUser e; Event* ep = &e; ar & ep; Thanks, Christian
5569
Age (days ago)
5569
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christian Auby