Il 21/07/2015 20:37, Thiago Macieira ha scritto:
As opposed to qMapLessThanKey? Do you mean two QMap with the same key could
have different comparators?

Why not? Suppose you want to have maps sorting by different criteria, especially if the type doesn't have proper semantics for operator< and thus shouldn't have one defined (e.g. complex numbers).

Too bad that adding a template parameter to QMap is a huge SiC, as people forward declare it with two template arguments, and we never provided headers for forward declarations... :(

Cheers,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - The Qt Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to