insert
Insert item at index i. Moves list[i .. list.len] to higher indices to make room.
If i is equal to the length of the list this operation is equivalent to append.
This operation is O(N).
Invalidates element pointers if additional memory is needed.
Asserts that the index is in bounds or equal to the length.
Function parameters
Parameters
Deprecated.
Functions
- Managed
- Deprecated.
- AlignedManaged
- Deprecated.
- Aligned
- A contiguous, growable list of arbitrarily aligned items in memory.
Source