34#ifndef PANZER_HASH_UTILS_HPP
35#define PANZER_HASH_UTILS_HPP
50 seed ^= hasher(v) + 0x9e3779b9 + (seed<<6) + (seed>>2);
56 template<
typename T1,
typename T2>
71template <
typename T1,
typename T2>
72struct hash<
std::pair<T1,T2> >
void hash_combine(std::size_t &seed, const T &v)
Mixes the hash of v into seed, in place. Used to build a combined hash from multiple values.
A hash functor for std::pair, combining the hashes of both elements via hash_combine()....
std::size_t operator()(const std::pair< T1, T2 > &v) const
std::size_t operator()(const std::pair< T1, T2 > &v) const