[Development] QList

Marc Mutz marc.mutz at kdab.com
Wed Mar 29 10:29:57 CEST 2017


On Wednesday 29 March 2017 09:37:04 Marc Mutz wrote:
> Please approve the former, or propose something else.

I actually meant this ^^. Approve or _propose_ something else.

Just to be clear on this: I'm ready to do the work as outlined. But I will 
most certainly not write a QArrayList-as-a-class-in-Qt-5 that supports 
QArrayList<int>.

IMO, QArrayList is a marker for the Qt 5->6 transition. It is not a cool new 
Qt container class. In fact, if I was to decide, I'd deprecate QArrayList on 
the spot in Qt 6 and remove it in Qt 7.

If you want a QArrayList<int>, write it yourself. Well, or use 
vector<unique_ptr<int>>.

Thanks,
Marc

-- 
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, C++ and OpenGL Experts



More information about the Development mailing list