|
JASSv2
|
A node within the binary tree. More...
#include <binary_tree.h>

Public Member Functions | |
| node (const KEY &key, allocator &pool) | |
| Constructor. More... | |
Public Attributes | |
| const KEY | key |
| Data in the tree are keyed on this. | |
| ELEMENT | element |
| This is the data stored in the tree. | |
| std::atomic< node * > | left |
| Pointer to the left (smaller than) data. | |
| std::atomic< node * > | right |
| Pointer to the right (larger than) data. | |
| std::atomic< node * > | parent |
| Pointer to the parent node. | |
A node within the binary tree.
|
inline |
Constructor.
| key | [in] The key to the element data. |
| pool | [in] The pool allocator use for keys and elements. |
1.8.13