[Development] HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO

Kevin Kofler kevin.kofler at chello.at
Mon Aug 10 02:36:20 CEST 2015


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 
vector.

        Kevin Kofler




More information about the Development mailing list