DIP69 - Implement scope for escape proof references
eles via Digitalmars-d
digitalmars-d at puremagic.com
Thu Dec 4 02:04:07 PST 2014
On Thursday, 4 December 2014 at 10:00:37 UTC, Walter Bright wrote:
> On 12/4/2014 1:51 AM, eles wrote:
>> On Thursday, 4 December 2014 at 09:25:11 UTC, Walter Bright
>> wrote:
>>> http://wiki.dlang.org/DIP69
> Was afraid that would break too much code.
An annotation for functions could make all variables "scope"?
Similar to:
int foo(int x) @scopedvars {
//all declarations are implicit "scope"; use "escape" for the
others
}
More information about the Digitalmars-d
mailing list