[Development] Proposal: Deprecate QVector in Qt 6
Thiago Macieira
thiago.macieira at intel.com
Thu Apr 23 15:42:22 CEST 2020
On Thursday, 23 April 2020 01:41:54 PDT Laszlo Agocs wrote:
> -1 for QList. Why reuse and prioritize a name that has been tainted by
> plenty of past discussions and comes with a lot of past baggage? Any Google
> etc. search will bring up plenty of "QList-bad QVector-good" materials for
> years to come, potentially leading to lots of Qt 5 vs Qt 6 confusion. Also,
> Qt 5.x is not going to disappear overnight.
The other problem with QList is that std::list is a linked list, whereas
QList/QVector is an array, like std::vector. I'd like to keep QVector so
people know what it is. I don't mind keeping both names, actually and I do not
propose a change from QStringList.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel System Software Products
More information about the Development
mailing list