[Dlang-internal] DIP1000 discussion and testing

Walter Bright via Dlang-internal dlang-internal at puremagic.com
Tue Dec 27 17:25:22 PST 2016


On 12/27/2016 2:18 PM, Mathias Lang wrote:
> Which brings me to the question, is `scope ref` supposed to apply to the `ref`
> or to the type (i.e. `Foo` in this case) ?

scope refers to the parameter's value, ref refers to the parameter's address. 
The two are independent of each other.


More information about the Dlang-internal mailing list