52 template<
class PrimitiveType>
60 unsigned operator()(
const PrimitiveType&
p,
unsigned seed)
const 62 return Hasher(&p,
sizeof(p), seed);
67 return Hasher(&p,
sizeof(p));
111 unsigned operator()(
const string&
p,
unsigned seed)
const 214 unsigned operator()(
const void*
const&
p,
unsigned seed)
const
A class for handling keywords in dictionaries.
Hashing function class, shared by all the derived classes.
A class for handling file names.
unsigned operator()(const PrimitiveType &p, unsigned seed) const
A class for handling words, derived from string.
A wordRe is a word, but can also have a regular expression for matching words.
unsigned Hasher(const void *data, size_t len, unsigned seed=0)
Bob Jenkins's 96-bit mixer hashing function (lookup3)
Misc. hashing functions, mostly from Bob Jenkins.
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely nee...
A class for handling character strings derived from std::string.