|
Yggdrasill
0.2
|
Base class (template) to supply your node class with metainformation. More...
#include <rbtree.hpp>
Protected Attributes | |
| Node * | _bst_children [2] |
| rbtree_internal::ColorParentStorage< Node, Options::compress_color > | _bst_parent |
Friends | |
| class | rbtree_internal::ColorParentStorage< Node, Options::compress_color > |
Base class (template) to supply your node class with metainformation.
The class you use as nodes for the Red-Black Tree must derive from this class (template). It supplies your class with the necessary members to contain the linking between the tree nodes.
| Node | The node class itself. Yes, that's the class derived from this template. This sounds weird, but is correct. See the examples if you're confused. |
| options | The options class (a version of TreeOptions) that you parameterize the tree with. (See the options parameter of RBTree.) |
| Tag | The tag used to identify the tree that this node should be inserted into. See RBTree for details. |
1.8.13