run-time stack-based allocation

Mehrdad wfunction at hotmail.com
Mon May 7 09:21:48 PDT 2012


No idea, sorry. :\

On Monday, 7 May 2012 at 16:08:42 UTC, Gor Gyolchanyan wrote:
> Wasn't there an allocator mechanism under development for 
> phobos? I
> remember there was a StackAllocator, that can span for arbitrary
> scopes. What's up with that?
>
> On Mon, May 7, 2012 at 8:03 PM, Mehrdad <wfunction at hotmail.com> 
> wrote:
>> On Monday, 7 May 2012 at 13:36:02 UTC, Gor Gyolchanyan wrote:
>>>
>>> Basically I want what alloca does, but instead of considering 
>>> the
>>> constructor's scope, I want it to hand to the constructor 
>>> call's enclosing
>>> scope.
>>
>>
>> I think you'd need to modify the compiler for this, since 
>> alloca is
>> 'magical'.




More information about the Digitalmars-d mailing list