XII Release 0.1.0
Loading...
Searching...
No Matches
xiiHashHelper< T > Struct Template Reference

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

#include <HashingUtils.h>

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

template<typename T>
struct xiiHashHelper< T >

Helper struct to calculate the Hash of different types.

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


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