Feh, I'm trying to serialize a class and failing because of a curious error, heres the code:
Does anyone have any Idea what this means? I think it might have something to do with the template thing and the parameter Archive & ar, namespace issues perhaps?Code:#include <boost/archive/text_iarchive.hpp> #include <boost/archive/text_oarchive.hpp> #include <boost/serialization/base_object.hpp> class CObject { public: CObject(){} virtual void Create() {} virtual void Access() {} virtual void Delete() {delete this;} private: virtual void Save_to_Disk(std::string Filename) {} virtual void Read_File(std::string Filename) {} friend class boost::serialization::access; template<class Archive> virtual void boost::serialization::serialize(Archive & ar, const unsigned int version){}; };