mercredi 5 mai 2021

How to create a interface for serialization in Cereal?

I want to write an interface ISerializable, that would guarantee, that the inherited type would be serializable. I understand how to do it with Boost Serialization (How to create a interface for serialization in Boost Serialization?), but I don't know anything in cereal, that is equivalent to the boost's polymorphic_iarchive.

Aucun commentaire:

Enregistrer un commentaire