Sierra Toolkit
Version of the Day
|
#include <hashtable_eastl.h>
Encapsulates two policy issues that aren't quite orthogonal. (1) The difference between using a ranged hash function and using the combination of a hash function and a range-hashing function. In the former case we don't have such things as hash codes, so we have a dummy type as placeholder. (2) Whether or not we cache hash codes. Caching hash codes is meaningless if we have a ranged hash function. This is because a ranged hash function converts an object directly to its bucket index without ostensibly using a hash code. We also put the key extraction and equality comparison function objects here, for convenience.
Definition at line 482 of file hashtable_eastl.h.