Serialization example of boost/archive/binary_woarchive.hpp and/or boost/archive/binary_wiarchive.hpp?

前端 未结 1 1068
隐瞒了意图╮
隐瞒了意图╮ 2021-01-21 08:18

I\'m trying to find a good example of how to use these binary wide character versions of boost\'s serialization stuff. I pieced together some code to try and get it working, bu

相关标签:
1条回答
  • 2021-01-21 08:47

    It turns out that boost/archive/binary_woarchive.hpp and boost/archive/binary_wiarchive.hpp are redundant.

    Instead boost/archive/binary_oarchive.hpp and boost/archive/binary_iarchive.hpp will work just fine even for class instances that contain wide character variables!

    I hope this information helps someone.

    0 讨论(0)
提交回复
热议问题