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. Thiswould be consistent with other attributes.
Yes, that is the only sane road forward.