On Friday, 31 August 2018 at 09:59:20 UTC, Dukc wrote: > For me, it seems that for generality you should always add ref > into foreach loop variable. The reason is this: One good reason: https://forum.dlang.org/thread/dlhrrgvzmhladnphidei@forum.dlang.org