The OpenD Programming Language

Array.stableRemoveBack

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. alias stableRemoveBack = removeBack
    import std.container.array;
    struct Array(T)
    alias stableRemoveBack = removeBack
  2. alias stableRemoveBack = removeBack

Throws

Exception if the array is empty.

Meta