
Thx Sohail
This hierarchy is all registered using BOOST_CLASS_EXPORTED. XML export
works in exactly the same scenario, using binary_oarchive fails.
----- Original Message -----
From: "Sohail Somani"
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
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users