[Development] QList

Thiago Macieira thiago.macieira at intel.com
Tue Mar 21 16:55:22 CET 2017


Em terça-feira, 21 de março de 2017, às 05:22:31 PDT, André Somers escreveu:
> Op 20/03/2017 om 23:43 schreef Kevin Kofler:
> > Marc Mutz wrote:
> >> https://github.com/KDE/libkleo/blob/2fe48b77ba61fada80eaace8cb71dd0fd1326
> >> 5ae/src/kleo/stl_util.h> 
> > Thanks for proving my point that the STL APIs require tons of copy&paste
> > boilerplate in every project.
> 
> That's not just your point, it's Stephanovs point as well. The STL is a
> starting point, a good, well-tested set of basic building blocks. Nobody
> claimed it contains any and all containers or algoritms you'd ever need.
> In fact, in its first form it contained more, but large parts of it got
> backed out before standardization. Surely you don't expect Qt to supply
> every container type and every algorithm possible?

Not all, but a good set of algorithms that are in common use. Getting all keys 
and values is common, even if sometimes you leading to bad code.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list