new version of map erase
This commit is contained in:
@@ -175,6 +175,7 @@ private:
|
||||
// BBST
|
||||
enum {INSERT, ERASE};
|
||||
node<value_type>* _swap_nodes(node<value_type>* st_old, node<value_type>* st_new);
|
||||
node<value_type>* _shift_nodes(node<value_type>* st_old, node<value_type>* st_new);
|
||||
void _balance(node<value_type>* n, bool action);
|
||||
short _compute_height(node<value_type>* n);
|
||||
short _balance_factor(node<value_type>* n);
|
||||
|
||||
Reference in New Issue
Block a user