The OpenD Programming Language

RedBlackTree.remove

Removes the given Take!Range from the container

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

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