mn_rb_tree.hpp
Go to the documentation of this file.
59 rb_tree_node(rb_tree_color color_, rb_tree_node* left_, rb_tree_node* right_, rb_tree_node* parent_)
Definition: mn_rb_tree.hpp:87
node_type * find_node(const key_type &key)
Definition: mn_rb_tree.hpp:150
void rotate_right(node_type *n)
Definition: mn_rb_tree.hpp:311
void traverse_node(node_type *n, TravFunc func, int depth)
Definition: mn_rb_tree.hpp:346
size_type erase(const key_type &key)
Definition: mn_rb_tree.hpp:164
void rebalance_after_erase(node_type *n)
Definition: mn_rb_tree.hpp:415
typename TTreeTraits::key_type key_type
Definition: mn_rb_tree.hpp:89
const node_type * find_next(node_type *n) const
Definition: mn_rb_tree.hpp:241
node_type * construct_node()
Definition: mn_rb_tree.hpp:481
void rebalance(node_type *new_node)
Definition: mn_rb_tree.hpp:364
void(* TravFunc)(node_type *n, size_type left, size_type depth)
Definition: mn_rb_tree.hpp:98
void free_node(node_type *n, bool recursive)
Definition: mn_rb_tree.hpp:332
node_type * insert(const value_type &v)
Definition: mn_rb_tree.hpp:113
void rotate_left(node_type *n)
Definition: mn_rb_tree.hpp:289
typename TTreeTraits::value_type value_type
Definition: mn_rb_tree.hpp:90
base_rb_tree & operator=(const base_rb_tree &)=delete
base_rb_tree(const base_rb_tree &)=delete
rb_tree_node< value_type > node_type
Definition: mn_rb_tree.hpp:94
void destruct_node(node_type *n)
Definition: mn_rb_tree.hpp:487
base_rb_tree(const allocator_type &allocator=allocator_type())
Definition: mn_rb_tree.hpp:100
Definition: mn_node.hpp:113
Definition: mn_rb_tree.hpp:41
Definition: mn_allocator_typetraits.hpp:25
Definition: mn_rb_tree.hpp:33
const TKey & get_key() const
Definition: mn_rb_tree.hpp:37
rb_tree_key_wrapper()
Definition: mn_rb_tree.hpp:35
rb_tree_key_wrapper(const TKey &key_)
Definition: mn_rb_tree.hpp:36
Definition: mn_rb_tree.hpp:53
rb_tree_node(rb_tree_color color_, rb_tree_node *left_, rb_tree_node *right_, rb_tree_node *parent_)
Definition: mn_rb_tree.hpp:59
rb_tree_node(rb_tree_node *node)
Definition: mn_rb_tree.hpp:56
rb_tree_node(const rb_tree_node &other)
Definition: mn_rb_tree.hpp:62