[Development] QList
Marc Mutz
marc.mutz at kdab.com
Mon Mar 20 11:07:08 CET 2017
On Monday 20 March 2017 09:40:53 Lars Knoll wrote:
> >>>> 4. Provide QArrayList for code that needs stability of references
> >>>> (stability
> >>>>
> >>>> statically checked in Qt 5, enforced in Qt 6).
> >>>
> >>> It seems that (4) is perfectly safe, whereas (2) and (3) are breaking
> >>> changes; to what extent, I would like to know.
> >
> > Actually, we can get started in (4) right now. This will allow porting
> > now.
>
> That’s probably a good idea. It would help to have that class in 5.10 or
> latest 5.11.
https://codereview.qt-project.org/188938
I've made it a type-alias so we can rewrite code without breaking source or
binary compatibility. It still checks that a QList so redeclared is actually
one with an indirect memory layout.
Thanks,
Marc
--
Marc Mutz <marc.mutz at 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
More information about the Development
mailing list