#ifndef person_H #define person_H #include #include class Person { public: void askForInfo(); void display(); private: std::string firstName; std::string lastName; int age; template void serialize(Archive &ar, const unsigned int version) { ar &firstName; ar &lastName; ar &age; } friend class boost::serialization::access; }; #endif