I am using QMap
and I have pointers to the object as keys of the map. Using std::map
I would write a comparator for pointers and declare my map as follow
std::map<Key*, Value, ComparatorOfPointers<Key> >
How I have to do with QMap? I cannot find in Qt documentation which template parameters are acceptable.