#ifndef _STRINGMAP_H #define _STRINGMAP_H #include #include using namespace std; class LessThan { public: bool operator() (const char *str1, const char *str2) const {return strcmp(str1, str2)<0;} }; template class StringMap: public map { public: StringMap() {map::map();} }; //case insensitive version class LessThanCI { public: bool operator() (const char *str1, const char *str2) const {return stricmp(str1, str2)<0;} }; template class StringMapCI: public map { public: StringMapCI() {map::map();} }; #endif