
28 Apr
2012
28 Apr
'12
5:56 p.m.
template<class Archive>void Derived::serialize(Archive & ar,const unsigned int version){ ar & boost::serialization::base_object<Base>(*this); // add ar & boost::serialization::void_cast_register<Derived,Base> (static_cast<Derived*>(NULL), static_cast<Base*>(NULL) ); cout<<"serializingderived class object"<<endl; ar & b;}BOOST_CLASS_EXPORT_GUID(Derived,"Derived"); I just checked the documenation and see that there is a mistake in the example. I'll fix this. Robert Ramey
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users