是否提高C ++ 11的的std ::元组的支持序列化? [英] Does boost support serialization of c++11's std::tuple?
本文介绍了是否提高C ++ 11的的std ::元组的支持序列化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否提高11的的std ::元组的C ++支持序列化?
Does boost support serialization of c++11's std::tuple?
我找不到在tuple.hpp头文件/升压/系列化/
I couldn't find a tuple.hpp header file at /boost/serialization/
我使用升压1.52.0(快乐升级,如果需要的话,但似乎在变化1.53版本没有与此相关的任何东西)。
I'm using boost 1.52.0 (happy to upgrade if need be, but it seems like the changes in version 1.53 doesn't have anything related to this).
推荐答案
开箱,没有。你必须自己编写串行器。幸运的是,已经有人做的:
Out of the box, no. You'll have to write the serializer yourself. Luckily, someone already did:
这篇关于是否提高C ++ 11的的std ::元组的支持序列化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文