[Development] Qt LTS & C++11 plans (CopperSpice)

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Tue Jul 21 20:52:05 CEST 2015


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.dangelo at kdab.com | Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - The Qt Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4048 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150721/02d01bf8/attachment.bin>


More information about the Development mailing list