On terça-feira, 10 de outubro de 2017 14:31:05 PDT Christian Gagneraud wrote:
> It's full of interesting information, like:
> - Don't use Qt container, unless you have to
> - Do not use QList, prefer QVector.

And I complained to him right afterwards.

The advice should be:
 - do use the Qt Containers, unless you can't
 - use QVector, not QList, unless you need QList'svery specific behaviour
  (if you don't know what that is, you don't need it)

Out of the discussion at the Qt Contributor Summit, we concluded we will most 
likely keep our containers in Qt 6 and they'll continue to be implicitly 
shared. We may provide a non-implicitly-shared alternative (with all the Qt 
look and feel, possibly even exception-safe for QVector, QMap and QHash).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to