TotalContainer.stableRemove

Removes all elements belonging to r, which must be a range obtained originally from this container. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated.

  1. Range remove(Range r)
  2. Range stableRemove(Range r)
    struct TotalContainer(T)
    stableRemove

Return Value

Type: Range

A range spanning the remaining elements in the container that initially were right after r.

Complexity: O(m * log(n)), where m is the number of elements in r

Meta

Suggestion Box / Bug Report