company logo

BTIterator - Iterator for binary tree (internal class - not supported as interface)

The binary tree iterator allows iterating through a collection stored in a binary tree. Several iterator functions and operators select an entry in the binary tree as "current entry". This allows accessing the instance from the currently selected entry after the operation has been performed (GetAt()).

The binary tree iterator is the base for the BTI template class.

BTI<Person>  person_tree;