On Wed, 29 Mar 2017 10:39:42 +0200
Olivier Goffart <oliv...@woboq.com> wrote:

> I don't think we need QArrayList.  As you said, it's not often used (only one 
> known use?). and QToolBox is not even using the implicit sharing, so it could 
> easily be ported so std::vector<std::unique_ptr<.>>

When you need an index-based container, to insert and sort many big
objects, a QList like container is ideal.
Easier than std::vector<std::unique_ptr<.>> and with the benefit of cow.

Philippe

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

Reply via email to