On Dec 16, 2011, at 1:48 PM, Andrei Alexandrescu wrote: > On 12/16/11 3:43 PM, Steven Schveighoffer wrote: >> >> >> This can be solved with malloc and emplace > > Sure you meant static ubyte[__traits(classInstanceSize, T)] > and emplace :o). Don't forget the 16 byte alignment :-)