boost binary_oarchive works differently for different compilers

后端 未结 1 1584
天涯浪人
天涯浪人 2021-01-16 00:07

I need to transfer data between client and server. When I moved server from Windows (msvc140) to Debian (gcc 64-bit) I\'ve got a problem with my byte stream class based on <

相关标签:
1条回答
  • 2021-01-16 00:29

    That's documented. http://www.boost.org/doc/libs/1_49_0/libs/serialization/doc/todo.html#portablebinaryarchives

    There is no portable archive in Boost itself.

    You want to look at EOS Portable Archives: https://epa.codeplex.com/

    They're very easy to drop in your code base and use instead of boost::archive::binary_[io]archive

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