On quinta-feira, 21 de junho de 2012 08.26.23, Marc Mutz wrote:
> You meant
>    sizeof(T) <_=_ 32   _||_   T is movable,
> right?

Yes and no.

sizeof(T) <= 32 && T is movable

> Assuming move constructors become ubiquitous on types that you'd want to put
> into a homogeneous container, I wonder if a special case for large or
> non-movable types is needed at all.

I'll add move support to QVector.

But I want QList to always use realloc. If your type can't be realloc'ed, then
QList should indirect.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to