> On 28 May 2019, at 17:17, Thiago Macieira <thiago.macie...@intel.com> wrote:
> 
> 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.

How important is exception safety? I’m rather unsure whether that’s required.
> 
> 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.

Weren’t you also thinking about using the same data structure for QByteArray 
and QString?

Cheers,
Lars

_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to