How can boost::serialization be used with std::shared_ptr from C++11?

后端 未结 7 1893
礼貌的吻别
礼貌的吻别 2020-12-08 20:23

I know that there is a Boost module for serialization of boost::shared_ptr, but I cannot find anything for std::shared_ptr.

Also, I don\'t know how to implement it e

7条回答
  •  甜味超标
    2020-12-08 20:35

    Recent versions of Boost Serialization include support for all standard library smart pointers.

提交回复
热议问题