On 12/17/2011 12:11 AM, Sean Kelly wrote:
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 emplaceSure you meant static ubyte[__traits(classInstanceSize, T)] and emplace :o).Don't forget the 16 byte alignment :-)
Which is currently relatively easy: http://d.puremagic.com/issues/show_bug.cgi?id=6635