开发者

Creating own implementation of Boost::Archive

I'm currently creating a concept which uses Boost::开发者_StackOverflowSerialization and which needs to implement its own Boost::Archive cause the data has to be serialized in a certain way.

There is documentation about implementing custom archives in the documentation: http://www.boost.org/doc/libs/1_44_0/libs/serialization/doc/index.html

But I'm curious if there are any other (reallife) examples anywhere on the net. I couldn't find any. Perhaps someone could point me to a source or article.


Example implementing Log Archive:
http://www.boost.org/doc/libs/1_44_0/libs/serialization/doc/derivation.html

Portable Binary archive:
http://www.systomath.biz/include/Boost-1_35/libs/serialization/doc/derivation.html#portable_archives

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜