tanya.hash.lookup

Non-cryptographic, lookup hash functions.

Members

Functions

hash
size_t hash(T key)

Takes an argument of an arbitrary type T and calculates the hash value.

Templates

isHashFunction
template isHashFunction(alias hasher, T)

Determines whether hasher is hash function for T, i.e. it is callable with a value of type T and returns a $(D_PSYMBOL size_t) value.

Meta