42#ifdef PB_DS_CLASS_C_DEC
47insert_imp(const_reference r_val, false_type)
49 PB_DS_ASSERT_VALID((*
this))
50 key_const_reference r_key = PB_DS_V2F(r_val);
51 const size_type pos = ranged_hash_fn_base::operator()(r_key);
52 entry_pointer p_e = m_entries[pos];
53 resize_base::notify_insert_search_start();
55 while (p_e != 0 && !hash_eq_fn_base::operator()(PB_DS_V2F(p_e->m_value),
58 resize_base::notify_insert_search_collision();
62 resize_base::notify_insert_search_end();
65 PB_DS_CHECK_KEY_EXISTS(r_key)
66 return std::make_pair(&p_e->m_value,
false);
69 PB_DS_CHECK_KEY_DOES_NOT_EXIST(r_key)
70 return std::make_pair(insert_new_imp(r_val, pos),
true);
Struct holding two objects of arbitrary type.