Vector.insertBefore

Inserts stuff before position i.

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

Return Value

Type: void

The number of values inserted.

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

Meta