[Development] QList

Philippe philwave at gmail.com
Wed Mar 29 13:33:12 CEST 2017


On Wed, 29 Mar 2017 10:39:42 +0200
Olivier Goffart <olivier at 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




More information about the Development mailing list