Phobos for Review: std.buffer.scopebuffer

Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com> Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Fri Feb 7 17:15:35 PST 2014


On Friday, 7 February 2014 at 23:11:42 UTC, Brad Anderson wrote:
> On Friday, 7 February 2014 at 23:10:50 UTC, Walter Bright wrote:
>> On 2/7/2014 2:14 PM, Brad Anderson wrote:
>>>
>>> There's always alloca :)
>>
>> alloca() cannot be used to allocate stack data in a function 
>> enclosing the current one.
>
> Oh, right. Forgot about that.

(Of course you can. Modify the parent's stack frame and return by 
a JMP. ;-)


More information about the Digitalmars-d mailing list