[Development] QList for Qt 6

Thiago Macieira thiago.macieira at intel.com
Wed May 22 21:04:19 CEST 2019


On Wednesday, 22 May 2019 09:25:18 PDT Иван Комиссаров wrote:
> > 4. Use QVector to implement QList<Foo>, if sizeof(Foo) <= sizeof(quint64)
> > and Foo is movable
> What about fast prepend in that case? People tend to use QList as a deque
> because of the fast prepend/take first

It's possible to implement that for QVector too, albeit in non-inline code.

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





More information about the Development mailing list