41 typename PB_DS_CLASS_C_DEC::entry_allocator
42 PB_DS_CLASS_C_DEC::s_entry_allocator;
45 Eq_Fn PB_DS_CLASS_C_DEC::s_eq_fn;
48 null_type PB_DS_CLASS_C_DEC::s_null_type;
51 Update_Policy PB_DS_CLASS_C_DEC::s_update_policy;
55 typename PB_DS_CLASS_C_DEC::update_metadata> PB_DS_CLASS_C_DEC::s_metadata_type_indicator;
61 copy_from_range(It first_it, It last_it)
63 while (first_it != last_it)
64 insert(*(first_it++));
69 PB_DS_LU_NAME() : m_p_l(0)
70 { PB_DS_ASSERT_VALID((*
this)) }
75 PB_DS_LU_NAME(It first_it, It last_it) : m_p_l(0)
77 copy_from_range(first_it, last_it);
78 PB_DS_ASSERT_VALID((*
this));
83 PB_DS_LU_NAME(
const PB_DS_CLASS_C_DEC& other) :
88 for (const_iterator it = other.begin(); it != other.end(); ++it)
90 entry_pointer p_l = allocate_new_entry(*it,
91 traits_base::m_no_throw_copies_indicator);
93 p_l->m_p_next = m_p_l;
100 __throw_exception_again;
102 PB_DS_ASSERT_VALID((*
this))
108 swap(PB_DS_CLASS_C_DEC& other)
110 PB_DS_ASSERT_VALID((*
this))
111 PB_DS_ASSERT_VALID(other)
112 _GLIBCXX_DEBUG_ONLY(debug_base::
swap(other);)
113 std::
swap(m_p_l, other.m_p_l);
114 PB_DS_ASSERT_VALID((*this))
115 PB_DS_ASSERT_VALID(other)
123 entry_pointer p_l = m_p_l;
126 entry_pointer p_next_l = p_l->m_p_next;
127 actual_erase_entry(p_l);
136 { deallocate_all(); }
void swap(function< _Res(_Args...)> &__x, function< _Res(_Args...)> &__y)
Swap the targets of two polymorphic function object wrappers.