@nogc

Chris Cain via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 11 02:24:22 PDT 2014


On Friday, 11 July 2014 at 07:45:24 UTC, bearophile wrote:
> range, where the range you use a stack-allocated array of chars

Actually, thinking about this more, it's possible if the array of 
chars is malloc'd instead and written to (of course, that's not 
`@noalloc`, but that's ok).

It's just stack-allocated this way isn't possible since the 
exception can be thrown into a scope above your stack allocated 
chars.


More information about the Digitalmars-d mailing list