7#include <dune/common/hash.hh>
14 template <class Tuple, std::size_t I = std::tuple_size<Tuple>::value - 1>
17 static void apply(
size_t& seed, Tuple
const& tuple)
19 HashTupleImpl<Tuple, I-1>::apply(seed, tuple);
20 Dune::hash_combine(seed, std::get<I>(tuple));
24 template <
class Tuple>
25 struct HashTupleImpl<Tuple, 0>
27 static void apply(std::size_t& seed, Tuple
const& tuple)
29 Dune::hash_combine(seed, std::get<0>(tuple));
35 template <
class Tuple,
template <
class>
class Map>
38 template <
class Tuple,
template <
class>
class Map>
41 template <
class... T,
template <
class>
class Map>
44 using type = std::tuple<Map<T>...>;
47 template <
class Indices,
template <std::
size_t>
class Map>
50 template <
class Indices,
template <std::
size_t>
class Map>
53 template <std::size_t... I,
template <std::
size_t>
class Map>
56 using type = std::tuple<Map<I>...>;
Definition: TupleUtility.hpp:48
Definition: TupleUtility.hpp:36