42 #ifdef PB_DS_CLASS_C_DEC
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.
constexpr pair< typename __decay_and_strip< _T1 >::__type, typename __decay_and_strip< _T2 >::__type > make_pair(_T1 &&__x, _T2 &&__y)
A convenience wrapper for creating a pair from two objects.
integral_constant< bool, false > false_type
The type used as a compile-time boolean with false value.