Plasma Engine  2.0
Loading...
Searching...
No Matches
plHashHelper< T > Struct Template Reference

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

#include <HashingUtils.h>

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

template<typename T>
struct plHashHelper< T >

Helper struct to calculate the Hash of different types.

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


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