43 typename PB_DS_CLASS_C_DEC::entry_allocator
 
   44 PB_DS_CLASS_C_DEC::s_entry_allocator;
 
   47 typename PB_DS_CLASS_C_DEC::entry_pointer_allocator
 
   48 PB_DS_CLASS_C_DEC::s_entry_pointer_allocator;
 
   54 copy_from_range(It first_it, It last_it)
 
   56   while (first_it != last_it)
 
   57     insert(*(first_it++));
 
   62 PB_DS_CC_HASH_NAME() :
 
   63   ranged_hash_fn_base(resize_base::get_nearest_larger_size(1)),
 
   64   m_num_e(resize_base::get_nearest_larger_size(1)), m_num_used_e(0),
 
   65   m_entries(s_entry_pointer_allocator.allocate(m_num_e))
 
   68   PB_DS_ASSERT_VALID((*
this))
 
   73 PB_DS_CC_HASH_NAME(
const Hash_Fn& r_hash_fn) :
 
   74   ranged_hash_fn_base(resize_base::get_nearest_larger_size(1), r_hash_fn),
 
   75   m_num_e(resize_base::get_nearest_larger_size(1)), m_num_used_e(0),
 
   76   m_entries(s_entry_pointer_allocator.allocate(m_num_e))
 
   79   PB_DS_ASSERT_VALID((*
this))
 
   84 PB_DS_CC_HASH_NAME(
const Hash_Fn& r_hash_fn, 
const Eq_Fn& r_eq_fn) :
 
   85   PB_DS_HASH_EQ_FN_C_DEC(r_eq_fn),
 
   86   ranged_hash_fn_base(resize_base::get_nearest_larger_size(1), r_hash_fn),
 
   87   m_num_e(resize_base::get_nearest_larger_size(1)), m_num_used_e(0),
 
   88   m_entries(s_entry_pointer_allocator.allocate(m_num_e))
 
   90   std::fill(m_entries, m_entries + m_num_e, (entry_pointer)0);
 
   91   Resize_Policy::notify_cleared();
 
   92   ranged_hash_fn_base::notify_resized(m_num_e);
 
   93   PB_DS_ASSERT_VALID((*
this))
 
   98 PB_DS_CC_HASH_NAME(
const Hash_Fn& r_hash_fn, 
const Eq_Fn& r_eq_fn, 
 
   99            const Comb_Hash_Fn& r_comb_hash_fn) :
 
  100   PB_DS_HASH_EQ_FN_C_DEC(r_eq_fn),
 
  101   ranged_hash_fn_base(resize_base::get_nearest_larger_size(1),
 
  102               r_hash_fn, r_comb_hash_fn),
 
  103   m_num_e(resize_base::get_nearest_larger_size(1)), m_num_used_e(0),
 
  104   m_entries(s_entry_pointer_allocator.allocate(m_num_e))
 
  107   PB_DS_ASSERT_VALID((*
this))
 
  112 PB_DS_CC_HASH_NAME(
const Hash_Fn& r_hash_fn, 
const Eq_Fn& r_eq_fn, 
 
  113            const Comb_Hash_Fn& r_comb_hash_fn, 
 
  114            const Resize_Policy& r_resize_policy) :
 
  115   PB_DS_HASH_EQ_FN_C_DEC(r_eq_fn),
 
  116   Resize_Policy(r_resize_policy),
 
  117   ranged_hash_fn_base(resize_base::get_nearest_larger_size(1),
 
  118               r_hash_fn, r_comb_hash_fn),
 
  119   m_num_e(resize_base::get_nearest_larger_size(1)), m_num_used_e(0),
 
  120   m_entries(s_entry_pointer_allocator.allocate(m_num_e))
 
  123   PB_DS_ASSERT_VALID((*
this))
 
  128 PB_DS_CC_HASH_NAME(
const PB_DS_CLASS_C_DEC& other) :
 
  129   PB_DS_HASH_EQ_FN_C_DEC(other),
 
  130   resize_base(other), ranged_hash_fn_base(other),
 
  131   m_num_e(resize_base::get_nearest_larger_size(1)), m_num_used_e(0),
 
  132   m_entries(s_entry_pointer_allocator.allocate(m_num_e))
 
  135   PB_DS_ASSERT_VALID((*
this))
 
  138     copy_from_range(other.begin(), other.end());
 
  143     __throw_exception_again;
 
  145   PB_DS_ASSERT_VALID((*
this))
 
  150 ~PB_DS_CC_HASH_NAME()
 
  151 { deallocate_all(); }
 
  156 swap(PB_DS_CLASS_C_DEC& other)
 
  158   PB_DS_ASSERT_VALID((*
this))
 
  159   PB_DS_ASSERT_VALID(other)
 
  161   std::
swap(m_entries, other.m_entries);
 
  162   std::
swap(m_num_e, other.m_num_e);
 
  163   std::
swap(m_num_used_e, other.m_num_used_e);
 
  164   ranged_hash_fn_base::
swap(other);
 
  165   hash_eq_fn_base::
swap(other);
 
  166   resize_base::
swap(other);
 
  168   _GLIBCXX_DEBUG_ONLY(debug_base::
swap(other));
 
  169   PB_DS_ASSERT_VALID((*this))
 
  170   PB_DS_ASSERT_VALID(other)
 
  179   s_entry_pointer_allocator.deallocate(m_entries, m_num_e);
 
  187   std::fill(m_entries, m_entries + m_num_e, entry_pointer(0));
 
  188   Resize_Policy::notify_resized(m_num_e);
 
  189   Resize_Policy::notify_cleared();
 
  190   ranged_hash_fn_base::notify_resized(m_num_e);
 
ISO C++ entities toplevel namespace is std. 
 
void swap(_Tp &, _Tp &) noexcept(__and_< is_nothrow_move_constructible< _Tp >, is_nothrow_move_assignable< _Tp >>::value)
Swaps two values.