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
精彩评论