Proposal 2: Exceptions and @nogc
Daniel N via Digitalmars-d
digitalmars-d at puremagic.com
Sun Apr 9 01:16:24 PDT 2017
On Sunday, 9 April 2017 at 03:26:14 UTC, Walter Bright wrote:
> Solution
> ========
>
> Make Throwable optionally ref counted.
I like this new direction...
> The only place a refcounted Throwable is ever created is when
> the following
> statement is in the user code:
>
> throw new E(string);
>
... but why not go all the way, making it "always" refcounted?
(for any "new E", not emplace).
More information about the Digitalmars-d
mailing list