The OpenD Programming Language

DList.stableLinearRemove

linearRemove functions as remove, but also accepts ranges that are result the of a take operation. This is a convenient way to remove a fixed amount of elements from the range.

Complexity: O(r.walkLength)

import std.container.dlist;
struct DList(T)
alias stableLinearRemove = linearRemove

Meta