removes all items on destroy
insert new item in specified position
add all items from other collection
remove all items
returns index of first occurence of item, size_t.max if not found
support of foreach with reference
access item by index
support for appending (~=, +=) and removing by value (-=)
insert item at end of collection
insert item at beginning of collection
remove single item, returning removed item
remove single item by value - if present in collection, returning true if item was found and removed
peek last item
returns true if there are no items in collection
peek first item
returns number of items in collection
returns number of items in collection
remove last item
remove first item
returns currently allocated capacity (may be more than length)
change capacity (e.g. to reserve big space to avoid multiple reallocations)
Array based collection of items.
Retains item order when during add/remove operations.
Optionally destroys removed objects when instanciated with ownItems = true.