Is it possible to serialize and deserialize a class in C++?

前端 未结 13 2878
我寻月下人不归
我寻月下人不归 2020-11-22 02:18

Is it possible to serialize and deserialize a class in C++?

I\'ve been using Java for 3 years now, and serialization / deserialization is fairly trivial in that lang

13条回答
  •  耶瑟儿~
    2020-11-22 02:50

    Boost::serialization is a great option, but I've encountered a new project: Cereal which I find much more elegant! I highly suggest investigating it.

提交回复
热议问题