ezEngine  Release 25.03
ezHashHelper< T > Struct Template Reference

Helper struct to calculate the Hash of different types. More...

#include <HashingUtils.h>

Public Member Functions

template<typename U >
EZ_ALWAYS_INLINE ezUInt32 Hash (const U &value)
 
template<typename U >
EZ_ALWAYS_INLINE bool Equal (const T &a, const U &b)
 

Static Public Member Functions

template<typename U >
static ezUInt32 Hash (const U &value)
 
template<typename U >
static bool Equal (const T &a, const U &b)
 

Detailed Description

template<typename T>
struct ezHashHelper< T >

Helper struct to calculate the Hash of different types.

This struct can be used to provide a custom hash function for ezHashTable. The default implementation uses the xxHash function.


The documentation for this struct was generated from the following files: