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

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -