run-time stack-based allocation

Mehrdad wfunction at hotmail.com
Mon May 7 13:20:33 PDT 2012


On Monday, 7 May 2012 at 16:52:18 UTC, Arne wrote:
>> I think you'd need to modify the compiler for this, since 
>> alloca is 'magical'.
>
> wouldn't mixin's be a solution, one can inject an alloca to the 
> current scope, and then call the constructor...

Yeah, but mixins are so hacky.
They're like C macros, basically.


More information about the Digitalmars-d mailing list