|
SpECTRE
v2025.08.19
|
Provides a perfect hash if the size of the hash table is 2 * Dim. To take advantage of this, use the FixedHashMap class.
More...
#include <Direction.hpp>
Public Member Functions | |
| size_t | operator() (const Direction< Dim > &t) |
Static Public Attributes | |
| template<size_t MaxSize> | |
| static constexpr bool | is_perfect = MaxSize == 2 * Dim |
Provides a perfect hash if the size of the hash table is 2 * Dim. To take advantage of this, use the FixedHashMap class.