[Development] Container refactor update
Giuseppe D'Angelo
dangelog at gmail.com
Fri Jun 22 15:23:42 CEST 2012
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
Cheers,
--
Giuseppe D'Angelo
More information about the Development
mailing list