how to do performance test using the boost library for a custom library
Okay, so I added serialization to the types (why did you leave it out?) struct X { int p; double q; private: friend boost::serialization::access; template <typename Ar> void serialize(Ar& ar, unsigned) { ar & BOOST_SERIALIZATION_NVP(p); ar & BOOST_SERIALIZATION_NVP(q); } }; struct Y { float m; double n; private: friend boost::serialization::access; template <typename Ar> void serialize(Ar& … Read more