On Tuesday 21 July 2015 18:32:09 Ansel Sermersheim wrote:
> On 7/21/15 6:23 PM, Thiago Macieira wrote:
> > Right, we usually work around this by having QMap<CaseInsensitiveString,
> > X>.
> Certainly possible to do, but sometimes quite awkward depending on the
> situation.

Agreed.

> > 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?
> I have in the past used non-standard hashing and equality functions for
> std::unordered_map, but I will admit it is far less common.

Can you share why you needed that?

-- 
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

Reply via email to