On 16/03/2014 18:03, Adam D. Ruppe wrote:
If byLine returned a scope item, then it wouldn't be allowed to escape and throw a nice compile error pointing people in the right direction.... scope rox so much i want it so badly. (i guess here the mutability pretty much tells the story too tho)
It would certainly help when using foreach. I think there are cases without foreach which would still be allowed to access previous range fronts though, as they could still be in scope.
