gulgi / sparsehash

Automatically exported from code.google.com/p/sparsehash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

documentation: dense_hash_map example uses std::tr1::hash<const char*>

GoogleCodeExporter opened this issue · comments

Problem with std::tr1::hash<const char*> that it casts pointer to size_t type 
instead of hashing the string. Even example may work as it is, any attempts to 
extend example to real application will fail.

Original issue reported on code.google.com by aodin...@gmail.com on 6 Nov 2012 at 8:49