The OpenD Programming Language

SList.stableRemoveFront

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. alias stableRemoveFront = removeFront
    import std.container.slist;
    struct SList(T)
    alias stableRemoveFront = removeFront
  2. alias stableRemoveFront = removeFront

Meta