Details
-
Suggestion
-
Resolution: Out of scope
-
P5: Not important
-
4.3.4
-
None
Description
QMap uses the key class' operator<() to order its contents. This means that in order to use a different ordering to what a class' operator<() provides, one needs to subclass the key class and reimplement operator<().
However, it would be nice if QMap supported specifying an arbitrary comparison class to be used for ordering, like the STL map does.