#ifndef INCLUDE_SF_TUPLE_HPP #define INCLUDE_SF_TUPLE_HPP #include namespace SF { class Archive; template< typename T0> void serialize(SF::Archive &ar, boost::tuples::tuple &t, const unsigned int) { ar & t.get<0>(); } template< typename T0, typename T1> void serialize(SF::Archive &ar, boost::tuples::tuple &t, const unsigned int) { ar & t.get<0>() & t.get<1>(); } template< typename T0, typename T1, typename T2> void serialize(SF::Archive &ar, boost::tuples::tuple &t, const unsigned int) { ar & t.get<0>() & t.get<1>() & t.get<2>(); } template< typename T0, typename T1, typename T2, typename T3> void serialize(SF::Archive &ar, boost::tuples::tuple &t, const unsigned int) { ar & t.get<0>() & t.get<1>() & t.get<2>() & t.get<3>(); } template< typename T0, typename T1, typename T2, typename T3, typename T4> void serialize(SF::Archive &ar, boost::tuples::tuple &t, const unsigned int) { ar & t.get<0>() & t.get<1>() & t.get<2>() & t.get<3>() & t.get<4>(); } template< typename T0, typename T1, typename T2, typename T3, typename T4, typename T5> void serialize(SF::Archive &ar, boost::tuples::tuple &t, const unsigned int) { ar & t.get<0>() & t.get<1>() & t.get<2>() & t.get<3>() & t.get<4>() & t.get<5>(); } template< typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6> void serialize(SF::Archive &ar, boost::tuples::tuple &t, const unsigned int) { ar & t.get<0>() & t.get<1>() & t.get<2>() & t.get<3>() & t.get<4>() & t.get<5>() & t.get<6>(); } template< typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7> void serialize(SF::Archive &ar, boost::tuples::tuple &t, const unsigned int) { ar & t.get<0>() & t.get<1>() & t.get<2>() & t.get<3>() & t.get<4>() & t.get<5>() & t.get<6>() & t.get<7>(); } template< typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8> void serialize(SF::Archive &ar, boost::tuples::tuple &t, const unsigned int) { ar & t.get<0>() & t.get<1>() & t.get<2>() & t.get<3>() & t.get<4>() & t.get<5>() & t.get<6>() & t.get<7>() & t.get<8>(); } template< typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9> void serialize(SF::Archive &ar, boost::tuples::tuple &t, const unsigned int) { ar & t.get<0>() & t.get<1>() & t.get<2>() & t.get<3>() & t.get<4>() & t.get<5>() & t.get<6>() & t.get<7>() & t.get<8>() & t.get<9>(); } } #endif // ! INCLUDE_SF_TUPLE_HPP