Hi,

Yes, apologies, QList is an alias for QVector. I propose to switch that around.


Simon

________________________________
From: Development <development-boun...@qt-project.org> on behalf of Albert 
Astals Cid via Development <development@qt-project.org>
Sent: Thursday, April 23, 2020 10:16
To: development@qt-project.org <development@qt-project.org>
Subject: Re: [Development] Proposal: Deprecate QVector in Qt 6

El dijous, 23 d’abril de 2020, a les 9:43:33 CEST, Simon Hausmann va escriure:
> Hi,
>
> In dev we've had QVector being an alias for QList for a while now.

It's the other way around, isn't it?

corelib/tools/qcontainerfwd.h:
template<typename T> using QList = QVector<T>;

Cheers,
  Albert

--
Albert Astals Cid | albert.astals....@kdab.com | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - The Qt, C++ and OpenGL Experts

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

Reply via email to