[Development] Important recent changes in QList/QString/QByteArray
giuseppe.dangelo at kdab.com
Thu Sep 10 11:29:49 CEST 2020
Il 10/09/20 08:48, Andrei Golubev ha scritto:
> That's the dilemma that Andrei was talking about. Either solution is
> valid and
> both have a way for you to tell QList to do what you want.
> Oh, but it's not a question of "if". It is already done in latest dev
> this way, the shrinking erase, I mean (not sure who was an author of the
> original change).
But reallocating on erase still falls under the problem that it
invalidates everything, including the part before the erased range.
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4329 bytes
Desc: Firma crittografica S/MIME
More information about the Development