Why is `scope` planned for deprecation?
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Thu Nov 13 16:33:43 PST 2014
On Thursday, 13 November 2014 at 13:46:20 UTC, Manu via
Digitalmars-d wrote:
> D has attribute inference, that's like, a thing now.
> Theoretically, the compiler may be able to determine that a
> reference
> does not escape, and infer the 'scope' attribute, in many
> cases. This
> would be consistent with other attributes.
>
Yes, that is the only sane road forward.
More information about the Digitalmars-d
mailing list