42#ifdef PB_DS_CLASS_C_DEC
47insert_imp(const_reference r_val, true_type)
49 PB_DS_ASSERT_VALID((*
this))
50 key_const_reference key = PB_DS_V2F(r_val);
51 comp_hash pos_hash_pair = ranged_hash_fn_base::operator()(key);
52 entry_pointer p_e = m_entries[pos_hash_pair.first];
53 resize_base::notify_insert_search_start();
55 while (p_e != 0 && !hash_eq_fn_base::operator()(PB_DS_V2F(p_e->m_value),
57 key, pos_hash_pair.second))
59 resize_base::notify_insert_search_collision();
63 resize_base::notify_insert_search_end();
66 PB_DS_CHECK_KEY_EXISTS(key)
67 return std::make_pair(&p_e->m_value,
false);
70 PB_DS_CHECK_KEY_DOES_NOT_EXIST(key)
71 return std::make_pair(insert_new_imp(r_val, pos_hash_pair),
true);
Struct holding two objects of arbitrary type.