template<class T> CPHIterator<T> CPHList<T> operator[]

(int aPosition)

The '[]' operator.

Documentation

The '[]' operator. This operator returns an iterator that points to the element in the given location on the list. The index starts from zero i.e. the first element is in place 0. If the index is greater than list's size then a NULL iterator is returned.

Parameters:
aPosition - The index of the element to be returned.
Returns:
iterator pointing to the requested element or NULL in the case of a boundary error

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.