Hello all,
I am having a hash_map with key: char *. I have defined it like this:
struct eqstr
{
bool operator()(const char* s1, const char* s2) const
{
return strcmp(s1, s2) == 0;
}
};
...
hash_map<char *,map<uint16_t,set<float>>, hash<const char *>,eqstr> symbol_hm;
but I get an error (error C2065: 'hash' : undeclared identifier) for the hash<const char *> part. How can I fix this? Which header should I include?
Thanks!