On Tuesday 21 July 2015 18:10:27 Ansel Sermersheim wrote: > The most common use case of this is creating a QMap<QString, X> that is > sorted case insensitively. The STL allows this for std::map, and coming > to Qt from a background of standard C++ I was amazed that this very > common use case was not supported.
Right, we usually work around this by having QMap<CaseInsensitiveString, X>. This is something we should fix or 6.0, if we can accept the source compatibility break against forward declarations of QMap. I don't see the need to do the same for QHash. How often do people need a different comparator and/or a different hashing function for a given class type? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development