Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kArrayList_InsertT | ( |  | kArrayList_list,
|  |  | kSize_before,
|  |  | TPtr_item
| ) |  |
| related

Inserts an item into the list at the specified position.

Increases list capacity, if necessary.

A debug assertion will be raised if the size of the specified item type is not equal to the size of the collection item type.

Parameters

  kArrayList_list | List object.
  kSize_before | Item will be inserted before the item at this index.
  TPtr_item | Strongly-typed pointer to item that will be copied (by value) into the list.

Returns
  Operation status.