@nogc

Chris Cain via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 11 13:10:21 PDT 2014


On Friday, 11 July 2014 at 14:18:35 UTC, H. S. Teoh via 
Digitalmars-d wrote:
> Wouldn't @reallynogc == @nogc + nothrow ?

Not precisely. Throwing is perfectly fine in @reallynogc. You 
just can't cheat by allowing allocating exceptions using the GC. 
Technically it *could* work, but removing exception handling is a 
bit of a drastic an excessive measure and would make the 
@reallynogc subset pretty weak, especially since basically no 
libraries are going to work at that point.


More information about the Digitalmars-d mailing list