13#ifndef POSITIONHASH_HPP_
14 #define POSITIONHASH_HPP_
31 std::size_t
operator()(
const std::array<std::size_t, 2> &pos)
const noexcept;
42 static void hash_combine(std::size_t &seed,
const T &value)
noexcept;
A class that represents a hash function for positions.
Definition PositionHash.hpp:24
std::size_t operator()(const std::array< std::size_t, 2 > &pos) const noexcept
Hash function for a 2D position.
Definition PositionHash.cpp:21
static void hash_combine(std::size_t &seed, const T &value) noexcept
Hash combine function.
Definition PositionHash.cpp:34