DIP69 - Implement scope for escape proof references

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 8 15:19:36 PST 2014


On Monday, 8 December 2014 at 23:05:49 UTC, deadalnix wrote:
> scope(int)[] do not make any sense. The slice cannot outlive its
> content. scope as a flag on expressions/symbols is very useful.

I'd say it strange for directly the opposite reason - pure value 
type is inherently scope so adding such annotation shouldn't 
matter in general.


More information about the Digitalmars-d mailing list