Program size, linking matter, and static this()

Sean Kelly sean at invisibleduck.org
Fri Dec 16 15:11:07 PST 2011


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


More information about the Digitalmars-d mailing list