This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef common_tuple_hash_h | |
#define common_tuple_hash_h | |
#include <tuple> | |
namespace std{ | |
namespace | |
{ | |
template <class t> | |
inline void hash_combine(std::size_t& seed, t const& v) | |
{ | |
seed ^= hash<t>()(v) + 0x9e3779b9 + (seed<<6) + (seed>>2); |