3es  0.7
tes::Vector3Hash< T > Class Template Reference

Hash structure for use with standard library maps. More...

#include <3esvectorhash.h>

Public Member Functions

size_t operator() (const T &p) const
 Operator to convert the vector p to its hash code. More...
 

Detailed Description

template<class T>
class tes::Vector3Hash< T >

Hash structure for use with standard library maps.

Template Parameters
Thevector3 type. Must support x, y, z members (not functions).

Member Function Documentation

◆ operator()()

template<class T >
size_t tes::Vector3Hash< T >::operator() ( const T &  p) const
inline

Operator to convert the vector p to its hash code.

Parameters
pA vector3 object.
Returns
The 32-bit hash code for p.

References tes::vhash::hash().


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