-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with cereal #10
Comments
Hi, I've looked at Cereal in the past, but not too recently. IIRC it's like, you add the visitation function to your struct, so,
and then Cereal picks up on the existence of the I think that However, maybe we can make a patch in Cereal, so that if your struct does not have an |
It seems, you are right. I think, a patch for Cereal would be great. Thank you for the response!
Yep, apparantly, Cereal uses default names like archive( CEREAL_NVP(m1), // Names the output the same as the variable name
someInt, // No NVP - cereal will automatically generate an enumerated name
cereal::make_nvp("this_name_is_way_better", d) ); // specify a name of your choosing |
Would it be possible to implement a compatibility layer for cereal similar to fusion/hana?
The text was updated successfully, but these errors were encountered: