Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
A struct to represent a node in the Binary Search Tree. More...
Public Member Functions | |
bst_node (T _value) | |
Public Attributes | |
T | value |
std::unique_ptr< bst_node > | left |
std::unique_ptr< bst_node > | right |
A struct to represent a node in the Binary Search Tree.
|
inlineexplicit |
std::unique_ptr<bst_node> binary_search_tree< T >::bst_node::left |
Pointer to left subtree.
std::unique_ptr<bst_node> binary_search_tree< T >::bst_node::right |
Pointer to right subtree.
T binary_search_tree< T >::bst_node::value |
The value/key of the node.