On 3/18/11 1:21 PM, Jonathan M Davis wrote:
Yeah. Actually, Andrei has been making changes to std.range and std.algorithm so that _most_ functions which return new range types work this way. So, if TDPL says that it's illegal, it probably needs to be changed. Either that or we need to stop switching over to doing things that way. On the whole though, it strikes me as a positive change.- Jonathan M Davis
Yah, TDPL needs changing. Auto returns + local types = just awesome. Andrei