[Issue 16145] enumerate can't work with ref foreach
https://issues.dlang.org/show_bug.cgi?id=16145 Iain Buclaw changed: What|Removed |Added Priority|P1 |P2 --
[Issue 16145] enumerate can't work with ref foreach
https://issues.dlang.org/show_bug.cgi?id=16145 greenifychanged: What|Removed |Added CC||greeen...@gmail.com --- Comment #1 from greenify --- This is due to `front` creating a new tuple on every call: https://github.com/dlang/phobos/blob/master/std/range/package.d#L7740 Hence not even "refRanging" it works :/ --