D gc on local objects
Adam D. Ruppe via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 16 09:51:56 PDT 2014
This is one of the things the `scope` storage class on local
variables can do, but since it isn't implemented properly, it is
not memory safe and thus its usage is deprecated.
I really really really want to see scope be fully implemented,
including not allowing a reference to the variable to escape the
scope, but this is easier said than done.
More information about the Digitalmars-d
mailing list