IndexMixin.removeKey

Removes all elements with key k from this container.

  1. size_t removeKey(KeyType k)
    mixin template IndexMixin(size_t N, alias KeyFromValue, alias Hash, alias Eq, bool allowDuplicates, alias SeqRange, ThisContainer)
    version(OldWay)
    size_t
    removeKey
    (
    KeyType k
    )
  2. size_t removeKey(Stuff stuff)

Return Value

Type: size_t

the number of elements removed Complexity: O(n k * d(n)),
O(n + n k) for this index (O(n k) on a good day)

Meta