aboutsummaryrefslogtreecommitdiff
path: root/src/util/hash.hpp
blob: 718fa832030a6569850e0613aa88349a9cfb1cac (plain)
1
2
3
4
5
6
7
8
9
10
#pragma once

#include <cstddef>

constexpr auto GOLDEN_RATIO = 0x9e3779b9;

template <typename Value>
void hash_combine(std::size_t &seed, const Value &value) noexcept;

#include "hash_impl.hpp"