Advance to the next element in the array. The user must check that the array isn't empty, prior to calling this function.
Complexity: O(1).
auto stuff = [1, 2, 3]; auto a = Array!int(stuff); size_t i = 0; while (!a.empty) { assert(a.front == stuff[i++]); a.popFront; } assert(a.empty);
See Implementation
Advance to the next element in the array. The user must check that the array isn't empty, prior to calling this function.
Complexity: O(1).