Hi all, I am implementing google's dense hash map in my C++ code. I want to use MurmurHash2 (http://murmurhash.googlepages.com/) as a hash function. But here's the problem. I have tried a lot but cant seem to get the hash function to work. The example shows the use of a default hash function (hash< const char * >).
dense_hash_map < const char * , int, hash < const char*>, eqstr> months;
I would like to replace hash< const char * > by
unsigned int MurmurHash2 ( const char * key, int len, unsigned int seed)
Can any one plz suggest what to do?
thanks!