lab_hash
Hellish Hash Tables
hashes.h File Reference

Definition of a namespace containing a templatized hash function. More...

#include <string>
+ Include dependency graph for hashes.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 hashes
 hashes namespace: a collection of templated hash functions.
 

Functions

template<class K >
unsigned int hashes::hash (const K &key, int size)
 Computes the hash code of a given key (templated), and returns it modulo size for use in HashTable applications. More...
 

Detailed Description

Definition of a namespace containing a templatized hash function.

Author
Chase Geigle
Date
Summer 2012