Hashing function to store a block's (x, y, z) position.
More...
#include <hash_funcs.h>
|
template<class T1 , class T2 , class T3 > |
std::size_t | operator() (const std::tuple< T1, T2, T3 > &p) const |
| Hash function for a tuple.
|
|
Hashing function to store a block's (x, y, z) position.
◆ operator()()
template<class T1 , class T2 , class T3 >
std::size_t mazes::tri_hash::operator() |
( |
const std::tuple< T1, T2, T3 > & | p | ) |
const |
|
inline |
Hash function for a tuple.
- Template Parameters
-
- Parameters
-
- Returns
- the hash value
The documentation for this class was generated from the following file: