This is the default hash_compare class, which assumes the Key is a size_t value or can be implicitly converted to a size_t value (for instance, via a size_t typecast operator). More...
#include "stl_compares.h"
Static Public Member Functions | |
static size_t | add_hash (size_t start, const Key &key) |
Adds the indicated key into a running hash. More... | |
Additional Inherited Members | |
Public Member Functions inherited from stl_hash_compare< Key, Compare > | |
bool | is_equal (const Key &a, const Key &b) const |
size_t | operator() (const Key &key) const |
bool | operator() (const Key &a, const Key &b) const |
This is the default hash_compare class, which assumes the Key is a size_t value or can be implicitly converted to a size_t value (for instance, via a size_t typecast operator).
It is the same as the system-provided hash_compare.
Definition at line 122 of file stl_compares.h.
|
inlinestatic |
Adds the indicated key into a running hash.
Definition at line 101 of file stl_compares.I.
References AddHash::add_hash().