[Development] QList for Qt 6

Thiago Macieira thiago.macieira at intel.com
Tue May 28 17:17:31 CEST 2019


On Monday, 27 May 2019 04:51:35 PDT Eike Ziller wrote:
> > * QVector for Qt 6 will most likely be updated with the changes Thiago has
> > waiting since quite some years
> What is the summary for these?

The long story short is that the begin pointer and size members move from the 
d pointer to the actual object. The slightly longer story is that it's 
implemented using QArrayDataPointer and the supposedly exception-safe, tag-
dispatched operations in QArrayDataOps that João wrote 7-8 years ago.

I also introduced a QGenericArray class that QVector derives from and QList 
could have, but doesn't look like it will be necessary for Qt 6.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products






More information about the Development mailing list