Incidentally, I've been needing static foreach a lot the last few days too.
On 15 June 2015 at 18:40, Ilya Yaroshenko via Digitalmars-d-announce
> Hi All,
> PR and Examples: https://github.com/D-Programming-Language/phobos/pull/3397
> DUB http://code.dlang.org/packages/dip80-ndslice
> N-dimensional slices is real world example where `static foreach` would be
> Corresponding lines was marked with //TODO: static foreach
> Best regards,