Look in the documentation under "base_object" Robert Ramey Terence Wilson wrote:
OK, that did it, but upon examination of the xml output I noticed the base class is not being serialized. A breakpoint inserted in CMyBaseClass::serialize never gets hit. Any thoughts?
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Robert Ramey Sent: Wednesday, January 04, 2006 8:09 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] [serialization] assert when serializingpolymorphictype to XML (Visual Studio 8)
Note that for "export" to work, the boost/serialization/export.hpp header must follow any archive headers. So moving the xml_iarchive.hpp .. up to where the text_iarchive.hpp headers are included should address the problem.
Robert Ramey
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users