Proposal 2: Exceptions and @nogc

Andrew Godfrey via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 9 12:05:58 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:
>
> [...]

Just a quick note to reduce confusion for reviewers:

> The number of parents of a refcounted Throwable is _refcount+1.

I believe what you mean here is "_refcount-1".
Later you say that the exception is reclaimed when the refcount 
goes to 1.


More information about the Digitalmars-d mailing list