run-time stack-based allocation

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Mon May 7 09:08:31 PDT 2012


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'.



-- 
Bye,
Gor Gyolchanyan.


More information about the Digitalmars-d mailing list