Phobos for Review: std.buffer.scopebuffer

Walter Bright newshound2 at digitalmars.com
Fri Feb 7 15:10:52 PST 2014


On 2/7/2014 2:14 PM, Brad Anderson wrote:
> On Friday, 7 February 2014 at 22:12:29 UTC, Walter Bright wrote:
>>
>> 5. Every instantiation that only differs by the buffer size would generate a
>> separate set of code. Having the buffer size passed into the constructor means
>> only one instance is generated per type.
>
> There's always alloca :)

alloca() cannot be used to allocate stack data in a function enclosing the 
current one.


More information about the Digitalmars-d mailing list