constructor, publicThe constructor creates an iterator bound to the specified vararray. Initially, the state of the iterator is to refer to the first element.
constructor, publicIf the optional parameter (with the constant value
alias) is supplied, than the list being iterated will reflect changes made through the iterator, and vice-versa.
publicThe arrow operator is used to treat the iterator object as a smart pointer to the "current" element.
publicUse the * operator rather than the arrow operator when you need to refer to the entire current element, as opposed to individual members of the current element.
publicThis operator returns
truewhen the iterator refers to a valid position within the vararray. It returns
falseafter all elements have been visited.
publicThe pre-increment operator advances the iterator to the next element. If there is no next element, then the iterator refers to a null element (so subsequent use of -> or * will give an addressing exception).
publicThis function returns the state of the iterator as the current array index. This gives you the value you would have used had you subscripted the array instead of using an iterator.