Proposal 2: Exceptions and @nogc
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Mon Apr 10 19:10:32 PDT 2017
On 4/10/2017 5:11 PM, Adam D. Ruppe wrote:
> `new` itself isn't really changing since it was already allowed to do this in
> cases the compiler can prove its lifetime.
Right. It isn't required to actually allocate it on the GC, just that it behaves
as if it did.
The real change in semantics is the implicit addition of 'scope' on the catch
object declaration.
More information about the Digitalmars-d
mailing list