DList.removeBack

Removes the value at the front/back of the container. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated.

Precondition: !empty

Complexity: O(1).

  1. void removeBack()
    struct DList(T)
    void
    removeBack
    ()
  2. size_t removeBack(size_t howMany)

Meta