IndexMixin.insertBack

Inserts every element of stuff not rejected by another index into the back of the index.

  1. size_t insertBack(SomeRange stuff)
    mixintemplate IndexMixin(size_t N, alias Range_0)
    size_t
    insertBack
    (
    SomeRange
    )
    (
    SomeRange stuff
    )
    if (
    isInputRange!SomeRange &&
    isImplicitlyConvertible!(ElementType!SomeRange, ValueView)
    )
  2. size_t insertBack(SomeValue value)
  3. ThisNode* _front;
  4. ThisNode* _back;

Return Value

Type: size_t

The number of elements inserted. Complexity: O(n stuff * i(n));
O(n stuff) for this index

Meta