19 template<
size_t Idx,
typename... Types>
20 typename std::enable_if<Idx ==
sizeof...(Types),
void>::type
24 template<
size_t Idx,
typename... Types>
25 typename std::enable_if<Idx <
sizeof...(Types),
void>::type
28 h(std::get<Idx>(tup));
29 tuple_element_hasher<Idx+1>(h, tup);
37 template<
typename... Types>
38 typename std::enable_if<
is_hashable<Types...>::value,
void>::type
41 detail::tuple_element_hasher<0>(h, tup);
Trait class that determines if a type is hashable or not.
std::enable_if< is_hashable< T >::value, void >::type hash_object(const std::array< T, N > &a, Hasher &h)
Hashing of std::array.
A class that hashes objects (header)
std::enable_if< Idx==sizeof...(Types), void >::type tuple_element_hasher(Hasher &, const std::tuple< Types... > &)
Class that is used to hash objects.