DIP69 - Implement scope for escape proof references

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 4 02:25:07 PST 2014


thank you for pushing on this.

Lifetime last bullet point: ", but lower than any variables in 
higher scopes."
isn't that redundant to the first bullet point? Or am I missing 
something?

Scope affects variables according to these rules:
Could you enumerate the list instead of bullet points, I can't 
count.

Base operation:
That one I don't get. I would assume this is legal as the 
function is not @safe.
e = &c; // Error, lifetime(e's view) is ∞ and is greater 
than lifetime(c)


More information about the Digitalmars-d mailing list