[Development] HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO
thiago.macieira at intel.com
Mon Aug 10 03:58:04 CEST 2015
On Monday 10 August 2015 02:36:20 Kevin Kofler wrote:
> Thiago Macieira wrote:
> > That is exactly what this proposal is not about. If you have a trait that
> > indicates your object type is trivially destrucible movable (a.k.a.
> > "trivially relocatable"), then we won't do memmove at all. We'll just do
> > realloc, period.
> realloc doesn't work if you are inserting or removing in the middle of a
Sure it does. It's required if you need to insert anywhere but don't have
Now, if you're not appending to the end, you'll need to memmove elements
around, sure. But that's a second step.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development