#ifndef COMMON_HASHUTILS_H_
#define COMMON_HASHUTILS_H_
#include "common/debug.h"
#include "xxhash.h"
namespace angle
{
inline size_t ComputeGenericHash(const void *key, size_t keySize)
{ … }
template <typename T>
size_t ComputeGenericHash(const T &key)
{ … }
inline void HashCombine(size_t &seed) { … }
template <typename T, typename... Rest>
inline void HashCombine(std::size_t &seed, const T &hashableObject, Rest... rest)
{ … }
template <typename T, typename... Rest>
inline size_t HashMultiple(const T &hashableObject, Rest... rest)
{ … }
}
#endif