Removes the last element from the array and returns it. Both stable and non-stable versions behave the same and guarantee that ranges iterating over the array are never invalidated.
Precondition: empty == false
The element removed.
Complexity: O(1).
Exception if the array is empty.
See Implementation
Removes the last element from the array and returns it. Both stable and non-stable versions behave the same and guarantee that ranges iterating over the array are never invalidated.
Precondition: empty == false