DIP71: 'noscope' and 'out!param' attributes

Zach the Mystic via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 18 10:33:13 PST 2015


On Sunday, 18 January 2015 at 18:17:17 UTC, Meta wrote:
> If your function is marked as pure, then escape by global is 
> impossible.

Yes, I know. Only impure functions could possibly require 
'noscope'. But you might access global state without writing to 
it, or without copying the parameter reference. It's annoying to 
realize how close the existing system is to dealing with this 
issue.


More information about the Digitalmars-d mailing list