Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/hash.h>
Public Member Functions | |
t::hash | computeHash (const T &key) const |
bool | isEqual (const T &key1, const T &key2) const |
Static Public Member Functions | |
static t::hash | hash (const T &key) |
static bool | equals (const T &key1, const T &key2) |
This is the default implementation of the Hash concept in ELM. It provides a generic Jenkins hash function but provides also easier or more adapted hash functions for current types like integers, void pointer or strings.
Refer to concept::Hash concept for more details.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |