The OpenD Programming Language

SList.removeFront

Removes the value at the front 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 removeFront()
    struct SList(T)
    void
    removeFront
    ()
    if (
    !is(T == shared)
    )
  2. size_t removeFront(size_t howMany)

Meta