Insert
Insert
Inserts an element into the list at the specified index.
bool Insert(
const int index, // index to insert at
T item // the value to be inserted
);Parameters
- index
[in] The index to insert at.
- item
[in] The value to be inserted at the specified index.
Return Value
Returns true on successful, or false otherwise.
Last updated on