The OpenD Programming Language

TotalContainer.stableRemove

Removes all elements belonging to r, which must be a range obtained originally from this container. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated.

struct TotalContainer(T)
stableRemove

Return Value

Type: Range

A range spanning the remaining elements in the container that initially were right after r.

Complexity: O(m * log(n)), where m is the number of elements in r

Meta