![]() |
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 &v) |
static bool | equals (const T &v1, const T &v2) |
Simple hash key that looks in the object itself for the hash function and for the quality operator. The T must have the following methods:
T | Type of hashed objects. |
|
inline |
References SelfHashKey< T >::hash().
|
inlinestatic |
Referenced by SelfHashKey< T >::isEqual().
|
inlinestatic |
Referenced by SelfHashKey< T >::computeHash().
|
inline |
References SelfHashKey< T >::equals().