Re: [Boost-users] problem with serialization of pure virtual

-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Tobias Combe Sent: Tuesday, February 28, 2006 7:18 AM To: boost-users@lists.boost.org Subject: [Boost-users] problem with serialization of pure virtual
When i use "ar.register<derived>();" in the template of the base-class to register the derived classes, i get a syntax error.
[Nat] What compiler are you using?

I'm using gcc 3.3.5
and now i get the following error:
with oa << event; :
boost/serialization/access.hpp: In static member function `static void
boost::serialization::access::serialize(Archive&, T&, unsigned int) [with
Archive = boost::archive::text_oarchive, T = DataNode]':
boost/serialization/serialization.hpp:81: instantiated from `void
boost::serialization::serialize(Archive&, T&, unsigned int) [with
Archive = boost::archive::text_oarchive, T = DataNode]'
boost/serialization/serialization.hpp:140: instantiated from `void
boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with
Archive = boost::archive::text_oarchive, T = DataNode]'
boost/archive/detail/oserializer.hpp:148: instantiated from `void
boost::archive::detail::oserializer
participants (2)
-
Nat Goodspeed
-
Tobias Combe