So if you create a map with a class as the key. Then the keys are pointers to classes?
If std::string
is a class, how does it manage to use character array data as keys in the map??
So the comparator can make 2 'different' class instances appear equal because their 'strings' match? If you confirm this, I shall mark your answer.