IndexMixin.insertBack

Inserts value into the back of the sequence, if no other index rejects value

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

Return Value

Type: size_t

The number if elements inserted into the index. Complexity: O(i(n));
O(1) for this index

Meta