IndexMixin.insert

Inserts value into this heap, unless another index refuses it.

  1. size_t insert(SomeValue value)
    mixintemplate IndexMixin(size_t N, alias KeyFromValue, alias Compare, ThisContainer)
    size_t
    insert
    (
    SomeValue
    )
    (
    SomeValue value
    )
    if (
    isImplicitlyConvertible!(SomeValue, ValueView)
    )
  2. size_t insert(SomeRange r)

Return Value

Type: size_t

the number of values added to the container Complexity: O(i(n));
O(log(n)) for this index

Meta