![]() |
XII Release 0.1.0
|
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) |
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.