Index
Module:
ecereCOM
Namespace:
ecere::com
Class:
Iterator
bool
Index
(const index,
bool
create)
Description
Index a container by its index type (e.g. int for an Array, the key for a Map or AVL tree)
Parameters
index
const
What to index by
create
bool
True if a slot for the value being indexed should be created if it does not already exist
Return Value
bool
Returns true if the value being indexed was already present in the container.