Stack-allocated arrays

Tom S h3r3tic at remove.mat.uni.torun.pl
Fri Nov 14 08:52:11 PST 2008


Andrei Alexandrescu wrote:
> enum Uninitialized { yeahIKnow }

Hahaha, brilliant! :D


> Is there interest for such a thing?

Yes, absolutely. I use lots of stack allocations and the vision of an 
overflow is always lurking somewhere in the shadows... EASTL has a stack 
allocator, so we must have it as well ;)


-- 
Tomasz Stachowiak
http://h3.team0xf.com/
h3/h3r3tic on #D freenode



More information about the Digitalmars-d mailing list