
21 Mar
2008
21 Mar
'08
2:24 a.m.
On Fri, 21 Mar 2008 02:13:36 +0000, Jerry wrote:
Within the same .cpp file I'm trying to serialize instances of the same hierarchy to boost::archive::binary_oarchive using this code:
Hi, You say this is a hierarchy. In that case, you have to be sure that you have BOOST_CLASS_EXPORTED or otherwise registered the child classes. Though now that I think about it, that should throw an unregistered cast exception iirc. Does that help? -- Sohail Somani http://uint32t.blogspot.com