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()
    mixintemplate CyclicRangePrimitives(T, string makeCopy = "typeof(cast() this) copy;")
    void
    removeBack
    ()
  2. void removeBack(int howMany)

Throws

Exception if the array is empty.

Meta