Iterating over array via foreach_reverse.
Array!(int,4) arr; scope(exit) arr.free(); int[] values; arr.insertBack([1,2,3,4]); foreach(ref val; arr) { values ~= val; } assert(values[] == arr.data);
See Implementation
Iterating over array via foreach_reverse.