[Development] Proposal: Deprecate QVector in Qt 6

Matthew Woehlke mwoehlke.floss at gmail.com
Wed May 20 17:34:16 CEST 2020


On 20/05/2020 09.11, Lars Knoll wrote:
> Here’s what we will do:
> 
> * QList and QVector are aliases for each other
> * We make QList the main type, and QVector an alias to it
> * We keep both names, QList and QVector. None of them is deprecated

While I don't object to this as such, can someone remind me what is the 
solution for people that *need* the semantics of old QList (either 
reference stability or indirect allocation)?

Also, will the new QVector/QList have the prepend optimization of old QList?

-- 
Matthew


More information about the Development mailing list