Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
SortedBinTree Class Reference

Detailed Description

This class provides a collection implementation as a sorted binary tree. Whatever the performed action (lookup, insertion or deletion), it has an average complexity of O(log(n)) with a worst case of O(n). The worst case is reached if the items are inserting in order. Notice that no method of this class is implemented recursively.

This class implements the concept of concept::MutableCollection.

Parameters
TType of items in the data structure.
CType describing the comparison operation (must implement elm::concept::Comparator<T>, elm::Comparator<T> as a default).

The documentation for this class was generated from the following file: