On Tue, Jul 21, 2015 at 11:47 AM, Thiago Macieira <[email protected] > wrote:
> On Tuesday 21 July 2015 10:19:59 Matthew Woehlke wrote: > > On 2015-07-21 01:06, Thiago Macieira wrote: > > > Is it possible to have Qt type traits > > on a type T such that QList<T> will always be QVector-like? Or would it > > be impossible to support that in QList? (This would be for Qt 6, > obviously.) > > We could create a user-configurable trait, but experience in the past 10 > years > has shown that people do not use the macros that make things efficient. So > we > can't depend on the right actions to make things efficient. > > Just look at how many commits Marc has needed to do in Qt itself to declare > types as movable. > How about making such traits explicitly necessary? People would then have to learn about them. As a user, I wouldn't mind - the compiler would pick it all up for me.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
