hash_bytes< T > Struct Template Reference

#include <hash_string.h>

List of all members.


Detailed Description

template<class T>
struct hash_bytes< T >

simple template class for hashing the bytes of arbitrary objects

Treats T like a string of sizeof(T) bytes. Computes the hash using: $ 31 \times h + s_i (mod 256) $ for each byte i.

Definition at line 59 of file hash_string.h.


The documentation for this struct was generated from the following file:

Generated on Sat Oct 4 21:30:28 2008 for Mace Library by  doxygen 1.5.5