small changes in map insert and erase
This commit is contained in:
@@ -172,11 +172,9 @@ private:
|
||||
typename Alloc::template rebind< node<value_type> >::other _allocator_node;
|
||||
typename Alloc::template rebind< sentinel<value_type> >::other _allocator_sentinel;
|
||||
|
||||
void _init_sentinel();
|
||||
node<value_type>* _subtree_shift(node<value_type>* st_old, node<value_type>* st_new);
|
||||
|
||||
// BBST
|
||||
enum {INSERT, ERASE};
|
||||
node<value_type>* _swap_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