55 if (Cmp_Fn::operator()(r_key,
PB_DS_V2F(*begin())))
63 if (!Cmp_Fn::operator()(r_key,
PB_DS_V2F(*(end() - 1))))
76 iterator it = upper_bound(r_key);
78 new_other.copy_from_ordered_range(it, end());
80 new_this.copy_from_ordered_range(begin(), it);
83 other.update(other.node_begin(), (node_update*)(&other));
84 update(node_begin(), (node_update*)this);
85 other.value_swap(new_other);
98 if (other.m_size == 0)
109 const
bool greater = Cmp_Fn::operator()(
PB_DS_V2F(*(end() - 1)),
112 const
bool lesser = Cmp_Fn::operator()(
PB_DS_V2F(*(other.end() - 1)),
115 if (!greater && !lesser)
121 new_this.copy_from_ordered_range(begin(), end(),
122 other.begin(), other.end());
124 new_this.copy_from_ordered_range(other.begin(), other.end(),
128 value_swap(new_this);
#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