Vector.insertAfter

Inserts stuff before position i.

  1. void insertBefore(size_t i, Stuff stuff)
  2. size_t insertBefore(size_t i, Stuff stuff)
  3. size_t insertAfter(size_t i, Stuff stuff)
    struct Vector(T, ALLOC = ThreadMem)
    size_t
    insertAfter
    (
    Stuff
    )
    (
    size_t i
    ,
    Stuff stuff
    )

Return Value

Type: size_t

The number of values inserted.

Complexity: O(n + m), where m is the length of stuff

Meta