I am trying to serialize a class that contains a std::chrono::system_clock::time_point with boost::serialize.
template <class Archive> void serialize(Archive& ar, unsigned int version) {
ar & timePoint_;
}
However I get the error:
Error 1 error C2039: 'serialize' : is not a member of 'std::chrono::time_point<_Clock>' c:\boost_1_54_0\boost\serialization\access.hpp 118
How do I fix this?