The OpenD Programming Language

SList.linearRemove

Removes a Take!Range from the list in linear time.

  1. Range linearRemove(Range r)
  2. Range linearRemove(Take!Range r)
    struct SList(T)
    linearRemove
    if (
    !is(T == shared)
    )

Return Value

Type: Range

A range comprehending the elements after the removed range.

Complexity: O(n)

Meta