RedBlackTree.remove

Removes the given range from the container.

  1. Range remove(Range r)
    class RedBlackTree(T, alias less = "a < b", bool allowDuplicates = false)
    remove
    if (
    is(typeof(binaryFun!less(T.init, T.init)))
    )
  2. Range remove(Take!Range r)

Return Value

Type: Range

A range containing all of the elements that were after the given range.

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

Meta

Suggestion Box / Bug Report