Proposal 2: Exceptions and @nogc

Chris M. via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 14 21:30:10 PDT 2017


On Sunday, 9 April 2017 at 03:26:14 UTC, Walter Bright wrote:
> My previous version did not survive implementation. Here's the 
> revised version. I have submitted it as a DIP, and there's a 
> trial implementation up:
>
> [...]

Maybe someone already explained this or the reason is obvious, 
but why couldn't we use @nogc to make Exceptions refcounted as 
opposed to needing to specifically use

     throw new Exception();


More information about the Digitalmars-d mailing list