[Development] Container refactor update

Thiago Macieira thiago.macieira at intel.com
Fri Jun 22 15:56:17 CEST 2012


On sexta-feira, 22 de junho de 2012 15.23.42, Giuseppe D'Angelo wrote:
> On 21 June 2012 09:14, Thiago Macieira <thiago.macieira at intel.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120622/08c0dcf5/attachment.sig>


More information about the Development mailing list