What is the state of scope function parameter?

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Mar 29 04:24:27 PDT 2017


On Wednesday, 29 March 2017 at 05:15:33 UTC, Ali Çehreli wrote:
> [..] How would you change the text there?

scope: references in the parameter cannot be escaped (e.g. 
assigned
        to a global variable) in @safe code when compiled with 
-dip1000.
        Ignored for parameters with no references.


More information about the Digitalmars-d-learn mailing list