On Wednesday 29 March 2017 14:20:42 Giuseppe D'Angelo wrote:
> Il 29/03/2017 13:27, Marc Mutz ha scritto:
> > On Wednesday 29 March 2017 11:37:57 Ville Voutilainen wrote:
> >> Let me take a step back. Do we need a list container that is always
> >> indirect regardless of
> >> the element type and uses implicit sharing?
> > 
> > We have that: it's called QLinkedList.
> 
> Or, fixing QVector so that QVector<unique_ptr<T>> becomes supported.

A QVector that supports move-only type ceases to be CoW, because its copy ctor 
will be disabled.

Thanks,
Marc

-- 
Marc Mutz <marc.m...@kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt, C++ and OpenGL Experts
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to