我怎么能序列化boost元组?

时间:2015-10-27 16:44:03

标签: boost boost-serialization boost-mpi

尝试使用boost mpi扩展使用boost_tuple元素:

.tab1:before{
  content:'Yes';
}
.tab2:before{
  content:'No';
}

我有错误:

broadcast(world,J,0);

我该怎么办?谢谢。

1 个答案:

答案 0 :(得分:2)

您可以类似于Does boost support serialization of c++11's std::tuple?

或者,使用c ++ 14 std::index_sequence和c ++ 17' generalized fold expressions