41 #ifdef PB_DS_CLASS_C_DEC
47 copy_from_range(It first_it, It last_it)
49 while (first_it != last_it)
50 insert(*(first_it++));
58 PB_DS_ASSERT_VALID((*
this))
63 PB_DS_RB_TREE_NAME(
const Cmp_Fn& r_cmp_fn) :
67 PB_DS_ASSERT_VALID((*
this))
72 PB_DS_RB_TREE_NAME(
const Cmp_Fn& r_cmp_fn,
const node_update& r_node_update) :
73 base_type(r_cmp_fn, r_node_update)
76 PB_DS_ASSERT_VALID((*
this))
81 PB_DS_RB_TREE_NAME(
const PB_DS_CLASS_C_DEC& other) :
85 PB_DS_ASSERT_VALID((*
this))
91 swap(PB_DS_CLASS_C_DEC& other)
93 PB_DS_ASSERT_VALID((*
this))
94 base_type::
swap(other);
95 PB_DS_ASSERT_VALID((*this))
102 { base_type::m_p_head->m_red =
true; }
void swap(shared_lock< _Mutex > &__x, shared_lock< _Mutex > &__y) noexcept
Swap specialization for shared_lock.