5 #ifndef TTG_SERIALIZATION_STD_TUPLE_H
6 #define TTG_SERIALIZATION_STD_TUPLE_H
10 #ifdef TTG_SERIALIZATION_SUPPORTS_MADNESS
14 #ifdef TTG_SERIALIZATION_SUPPORTS_BOOST
17 namespace serialization {
21 template <
typename Archive,
typename... Ts, std::size_t... Is>
22 Archive& tuple_serialize_impl(Archive& ar, std::tuple<Ts...>& t, std::index_sequence<Is...>) {
23 ((ar & std::get<Is>(t)), ...);
29 template <
typename Archive,
typename... Ts>
30 Archive& serialize(Archive& ar, std::tuple<Ts...>& t,
const unsigned int version) {
39 template <
typename Archive,
typename... Ts>
40 inline static constexpr
bool is_stlcontainer_boost_serializable_v<Archive, std::tuple<Ts...>> =
41 (is_boost_serializable_v<Archive, Ts> && ...);
42 template <
typename Archive,
typename... Ts>
43 inline static constexpr
bool is_stlcontainer_boost_serializable_v<Archive,
const std::tuple<Ts...>> =
44 (is_boost_serializable_v<Archive, const Ts> && ...);
typename make_index_sequence_t< I... >::type make_index_sequence
std::array< int, 3 > version()