how could I serialize boost tuple? -
when trying broad cast element boost_tuple using boost mpi:
broadcast(world,j,0);
i have error:
/usr/local/include/boost/serialization/access.hpp:118:9: error: 'class boost::tuples::tuple<int, int, int, int, int>' has no member named 'serialize' t.serialize(ar, file_version);
what do? thank you.
you can analogous does boost support serialization of c++11's std::tuple?
alternatively, use c++14 std::index_sequence
c++17's generalized fold expressions.
Comments
Post a Comment