DList.stableRemoveAny

Picks one value in an unspecified position in the container, removes it from the container, and returns it. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated.

Precondition: !empty

struct DList(T)
alias stableRemoveAny = removeAny

Return Value

The element removed.

Complexity: O(1).

Meta