Proposal 2: Exceptions and @nogc
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 12 01:04:30 PDT 2017
On Monday, 10 April 2017 at 21:44:32 UTC, Jonathan Marler wrote:
> "throw" operator (throw a Throwable object)
> "new" operator (create a GC object)
> "throw new" operator (create and throw a reference-counted
> Throwable object)
>
There is no need for this, the compiler already understands the
notion of unique for newed objects and object returned from pure
functions.
More information about the Digitalmars-d
mailing list