OrderedIndex.remove

Removes the given range from the container.

mixintemplate OrderedIndex(size_t N, bool allowDuplicates, alias KeyFromValue, alias Compare, ThisContainer)
remove
(
R
)
(
R r
)
if (
is(R == OrderedRange) ||
is(ElementType!R == Position!ThisNode)
)
out (r) { version (RBDoChecks) _Check(); }

Return Value

A range containing all of the elements that were after the given range.

Complexity:O(n r * d(n));
O(n r * log(n)) for this index

Meta