DIP69 - Implement scope for escape proof references

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 4 12:42:49 PST 2014


On 12/4/2014 4:56 AM, Kagamin wrote:
> On Thursday, 4 December 2014 at 09:25:11 UTC, Walter Bright wrote:
>> http://wiki.dlang.org/DIP69
>
> How inout fits the picture? It has some scope semantics too.

s/inout/ref/


 > Section about expressions suggests you will tack scoping carefully, but then why
 > would you need return by ref tricks, which don't rely on scope tracking and
 > hence look hackable?

Couldn't think of another way.


More information about the Digitalmars-d mailing list