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

Marc Mutz marc.mutz at kdab.com
Tue Jul 21 23:19:42 CEST 2015


On Tuesday 21 July 2015 20:52:05 Giuseppe D'Angelo wrote:
> 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... :(

It's spelled _s_t_d_:_:_m_a_p_ :)

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt Experts



More information about the Development mailing list