$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Serializing using base pointer gives "unregistered void cast" exception
From: Christian Auby (christian_at_[hidden])
Date: 2010-01-20 06:39:01
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