Cereal serialization error
问题 So i'm legit confused. It won't compile for an external serialization function. It gives the error cereal could not find any output serialization functions for the provided type and archive combination. So the code below doesn't compile #include <fstream> #include <glm/glm.hpp> #include "SceneObject.h" #include <cereal/cereal.hpp> #include <cereal/archives/json.hpp> template<typename Archive> void serialize(Archive& archive, glm::vec3& v3) { archive(cereal::make_nvp("x", v3.x), cereal::make