Maze Builder Docs 6.0.1
Loading...
Searching...
No Matches
mazes::tri_hash Class Reference

Hashing function to store a block's (x, y, z) position. More...

#include <hash_funcs.h>

Public Member Functions

template<class T1 , class T2 , class T3 >
std::size_t operator() (const std::tuple< T1, T2, T3 > &p) const
 Hash function for a tuple.
 

Detailed Description

Hashing function to store a block's (x, y, z) position.

Member Function Documentation

◆ 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
T1
T2
T3
Parameters
p
Returns
the hash value

The documentation for this class was generated from the following file: