CyclicRangePrimitives.removeBack

Removes the value from the back of the array. Both stable and non-stable versions behave the same and guarantee that ranges iterating over the array are never invalidated.

Precondition: empty == false

Complexity: O(1).

  1. void removeBack()
    mixin template CyclicRangePrimitives(T, string makeCopy = "typeof(cast() this) copy;")
    void
    removeBack
    (
    )
  2. alias stableRemoveBack = removeBack

Throws

Exception if the array is empty.

Meta