35 #include <unordered_map> 36 #include <unordered_set> 37 #define TLP_HASH_MAP std::unordered_map 38 #define TLP_HASH_SET std::unordered_set 39 #define TLP_HASH_NAMESPACE std 40 #define TLP_BEGIN_HASH_NAMESPACE namespace std 41 #define TLP_END_HASH_NAMESPACE 56 TLP_BEGIN_HASH_NAMESPACE {
58 inline void tlp_hash_combine(std::size_t & seed,
const T &v) {
60 seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
63 TLP_END_HASH_NAMESPACE