|
STL Memory Versioning
|
Manages all balancing logic and correlating allocations;. More...
#include <vs_tree.h>

Public Types | |
| typedef _vs_tree_node< _Key, _Comp > * | _Ptr_type |
| typedef int | size_type |
Public Member Functions | |
| _vs_tree_node (const _Key &_value) | |
| _vs_tree_node (const _vs_tree_node &_node) | |
| void | refresh_node_height () |
| size_type | node_delta_height () |
| _Ptr_type | rebalance () |
| _Ptr_type | turnleft () |
| _Ptr_type | turnright () |
| _Ptr_type | node_insert (const _Key &_value, _Comp comp=_Comp{}) |
| Fall down recursively, insert and rebalance on the way up. More... | |
Public Attributes | |
| _Key | value |
| size_type | height = 0 |
| _Ptr_type | left = nullptr |
| _Ptr_type | right = nullptr |
Manages all balancing logic and correlating allocations;.
| typedef _vs_tree_node<_Key, _Comp>* vs::_vs_tree_node< _Key, _Comp >::_Ptr_type |
| typedef int vs::_vs_tree_node< _Key, _Comp >::size_type |
|
inline |
|
inline |
|
inline |
|
inline |
Fall down recursively, insert and rebalance on the way up.
Definition at line 112 of file vs_tree.h.
|
inline |
|
inline |
|
inline |
|
inline |
| size_type vs::_vs_tree_node< _Key, _Comp >::height = 0 |
| _Ptr_type vs::_vs_tree_node< _Key, _Comp >::left = nullptr |
| _Ptr_type vs::_vs_tree_node< _Key, _Comp >::right = nullptr |
| _Key vs::_vs_tree_node< _Key, _Comp >::value |