Lines Matching refs:Args
42 template <typename... Args>
43 struct HashTupleHelper<std::tuple<Args...>, 1> {
44 std::size_t operator()(const std::tuple<Args...>& x) {
45 return hashTupleElement<std::tuple<Args...>, 0>(x);
49 template <typename... Args, int last_index>
50 struct HashTupleHelper<std::tuple<Args...>, last_index> {
51 std::size_t operator()(const std::tuple<Args...>& x) {
52 return combineHashes(hashTupleElement<std::tuple<Args...>, last_index - 1>(x),
53 HashTupleHelper<std::tuple<Args...>, last_index - 1>()(x));
57 template <typename... Args>
58 inline std::size_t hashTuple(const std::tuple<Args...>& x) {
59 return HashTupleHelper<std::tuple<Args...>, sizeof...(Args)>()(x);