#include <strutil.h>
Public Member Functions | |
size_t | operator() (const char *s) const |
C++ functor wrapper class for using strhash for hash_map or hash_set. The way this is used, in conjunction with StringEqual, to build an efficient hash_map for char*'s is as follows:
#ifdef _WIN32 hash_map <const char *, Key, Strutil::StringHash> #else hash_map <const char *, Key, Strutil::StringHash, Strutil::StringEqual> #endif