On sexta-feira, 22 de junho de 2012 15.23.42, Giuseppe D'Angelo wrote:
> On 21 June 2012 09:14, Thiago Macieira <[email protected]> wrote:
> > Yes and no.
> >
> > sizeof(T) <= 32 && T is movable
>
> I was wondering if this can lead to subtle bugs if people are relying
> on the fact that with sizeof(Foo) > sizeof(void*) then
>
>   Foo &f = list[n];
>   modify(list); // without touching f, f.i. insert at n-1
>   // f is here still valid

They might...

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