Removes exactly n elements from the front of a range, optionally along a given dimension.
auto ar = [3, 4, 5]; ar.popFrontExactly(2); assert(ar == [5]); ar.popFrontExactly!0(1); // Slice-like API assert(ar == []);
Removes exactly n elements from the front of a range, optionally along a given dimension.