F
Florian Liefers
"Hello World\n",
i get error C2143 (Syntaxerror, missing ';' before '<') using the
following code:
#include <hash_map>
struct eqstr
{
bool operator()(const char* s1, const char* s2) const
{
return strcmp(s1, s2) == 0;
}
};
typedef hash_map<const char*, int, hash<const char*>, eqstr> months;
hope anyone can help me!
Tnx,
Florian
i get error C2143 (Syntaxerror, missing ';' before '<') using the
following code:
#include <hash_map>
struct eqstr
{
bool operator()(const char* s1, const char* s2) const
{
return strcmp(s1, s2) == 0;
}
};
typedef hash_map<const char*, int, hash<const char*>, eqstr> months;
hope anyone can help me!
Tnx,
Florian