17 seed ^= hash<T>()(v) + 0x9e3779b9 + (seed<<6) + (seed>>2);
21 template <class Tuple, size_t Index = std::tuple_size<Tuple>::value - 1>
24 static void apply(
size_t& seed, Tuple
const& tuple)
31 template <
class Tuple>
34 static void apply(
size_t& seed, Tuple
const& tuple)
41 template <
typename ... TT>
42 struct hash<
std::tuple<TT...>>
48 HashValueImpl<std::tuple<TT...> >::apply(seed, tt);
void hash_combine(std::size_t &seed, T const &v)
Definition: tupleHash.h:15
Definition: tupleHash.h:5
static void apply(size_t &seed, Tuple const &tuple)
Definition: tupleHash.h:34
Definition: tupleHash.h:23
static void apply(size_t &seed, Tuple const &tuple)
Definition: tupleHash.h:24
size_t operator()(std::tuple< TT... > const &tt) const
Definition: tupleHash.h:45