
14 Jan
2010
14 Jan
'10
4:56 p.m.
replace friend class boost::serialization::access; template <class Archive> void serialize(Archive& ar, const unsigned int version){ ar & this->x & this->y & theta; } with something like: friend class boost::serialization::access; template <class Archive> void serialize(Archive& ar, const unsigned int version){ ar & boost::serialization::base_object>(*this); } Look through the documentation and samples on how to serialize derived classes. Robert Ramey