48 if (other.m_size == 0)
58 Cmp_Fn::operator()(
PB_DS_V2F(m_p_head->m_p_right->m_value),
59 PB_DS_V2F(other.m_p_head->m_p_left->m_value));
62 Cmp_Fn::operator()(
PB_DS_V2F(other.m_p_head->m_p_right->m_value),
65 if (!greater && !lesser)
71 m_size += other.m_size;
101 if (Cmp_Fn::operator()(r_key,
PB_DS_V2F(m_p_head->m_p_left->m_value)))
109 if (!Cmp_Fn::operator()(r_key,
PB_DS_V2F(m_p_head->m_p_right->m_value)))
133 other.initialize_min_max();
134 other.m_size = std::distance(other.begin(), other.end());
135 m_size -= other.m_size;
136 initialize_min_max();
144 recursive_count(node_pointer p)
const
148 return 1 + recursive_count(p->m_p_left) + recursive_count(p->m_p_right);
#define false
Definition: stdbool.h:35
#define true
Definition: stdbool.h:34
#define _GLIBCXX_DEBUG_ONLY(_Statement)
Definition: debug.h:63
#define PB_DS_CLASS_C_DEC
Definition: bin_search_tree_.hpp:71
#define PB_DS_CLASS_T_DEC
Definition: bin_search_tree_.hpp:67
return(unsigned int) __res
void __throw_join_error()
Definition: exception.hpp:84
#define PB_DS_ASSERT_VALID(X)
Definition: binary_heap_.hpp:324
#define PB_DS_V2F(X)
Definition: container_base_dispatch.hpp:80