40 #ifdef PB_DS_CLASS_C_DEC
43 typename PB_DS_CLASS_C_DEC::entry_allocator
44 PB_DS_CLASS_C_DEC::s_entry_allocator;
47 Eq_Fn PB_DS_CLASS_C_DEC::s_eq_fn;
50 null_type PB_DS_CLASS_C_DEC::s_null_type;
53 Update_Policy PB_DS_CLASS_C_DEC::s_update_policy;
57 typename PB_DS_CLASS_C_DEC::update_metadata> PB_DS_CLASS_C_DEC::s_metadata_type_indicator;
63 copy_from_range(It first_it, It last_it)
65 while (first_it != last_it)
66 insert(*(first_it++));
71 PB_DS_LU_NAME() : m_p_l(0)
72 { PB_DS_ASSERT_VALID((*
this)) }
77 PB_DS_LU_NAME(It first_it, It last_it) : m_p_l(0)
79 copy_from_range(first_it, last_it);
80 PB_DS_ASSERT_VALID((*
this));
85 PB_DS_LU_NAME(
const PB_DS_CLASS_C_DEC& other) :
90 for (const_iterator it = other.begin(); it != other.end(); ++it)
92 entry_pointer p_l = allocate_new_entry(*it,
93 traits_base::m_no_throw_copies_indicator);
95 p_l->m_p_next = m_p_l;
102 __throw_exception_again;
104 PB_DS_ASSERT_VALID((*
this))
110 swap(PB_DS_CLASS_C_DEC& other)
112 PB_DS_ASSERT_VALID((*
this))
113 PB_DS_ASSERT_VALID(other)
114 _GLIBCXX_DEBUG_ONLY(debug_base::
swap(other);)
116 PB_DS_ASSERT_VALID((*this))
117 PB_DS_ASSERT_VALID(other)
125 entry_pointer p_l = m_p_l;
128 entry_pointer p_next_l = p_l->m_p_next;
129 actual_erase_entry(p_l);
138 { deallocate_all(); }
void swap(shared_lock< _Mutex > &__x, shared_lock< _Mutex > &__y) noexcept
Swap specialization for shared_lock.
ISO C++ entities toplevel namespace is std.