[Development] QList

Alejandro Exojo alex at vikingsoft.eu
Thu Mar 30 22:32:35 CEST 2017


On Wednesday 29 March 2017 20:11:58 Marc Mutz wrote:
> I would really, really 
> like to know why QVector is easier to use? Because it has indexOf()? 
> Seriously, now?

Because it has _lots_ of easy to use member functions, and another kind of 
iterator that is also easier to use for some, and good documentation. I'm not 
making this stuff up:

http://stackoverflow.com/questions/571394/

Hundreds of votes for something immensely simple, that with Qt containers is 
also immensely more readable. Ease of use has a lot more value than 
performance to many people. A thought: how many comments did get the blog post 
that you did on making QRegion iterable? And how many the one about the 
removal of the foreach macro?

-- 
Viking Software, Qt and C++ developers for hire
http://www.vikingsoft.eu



More information about the Development mailing list