Get slice of data
Free dynamically allocated memory used by array.
Append single element c to the end.
Append all elements of slice s to the end.
Append element to the start.
Append all elements of slice s to the start.
Inserts an element by a given index (resizing an array and shifting elements).
Get number of elements in array.
Iterating over array via foreach.
Iterating over array via foreach.
Iterating over array via foreach_reverse.
Iterating over array via foreach_reverse.
Access element by index.
Set element t for index.
Same as insertBack, but in operator form.
Same as insertBack, but in operator form.
Access by slice.
Remove n of elements from the end.
If obj is in array, remove its first occurence and return true. Otherwise do nothing and return false.
Remove n of elements from the start.
Removes an element by a given index.
Preallocate memory without resizing.
Resize array and initialize newly added elements with initValue.
Shift contents of array to the left by n positions. Does not change the size of array. n of last elements becomes default initialized.
Shift contents of array to the right. It inreases the size of array by 1. The first element becomes default initialized.
Returns true if the array uses dynamic memory.
GC-free dynamic array implementation. Very efficient for small-sized arrays.