DIP69 - Implement scope for escape proof references

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 12 00:16:28 PST 2014


On Friday, 12 December 2014 at 07:48:21 UTC, Walter Bright wrote:
> Are you suggesting two kinds of scope - transitive and 
> non-transitive?
>

Non transitive scope can be added without any language extension. 
There is no point doing much with the scope keyword if 
indirection aren't in the loop.

> The more I think about it, the more ref counting is the 
> definitive case, as just about everything else can be explained 
> in terms of how ref counting works.

ref counting is just one form of ownership.


More information about the Digitalmars-d mailing list