43inline typename PB_DS_CLASS_C_DEC::size_type
46{
return m_num_used_e; }
49inline typename PB_DS_CLASS_C_DEC::size_type
52{
return m_entry_allocator.max_size(); }
59{
return (size() == 0); }
62template<
typename Other_HT_Map_Type>
65operator==(
const Other_HT_Map_Type& other)
const
66{
return cmp_with_other(other); }
69template<
typename Other_Map_Type>
72cmp_with_other(
const Other_Map_Type& other)
const
74 if (size() != other.size())
77 for (
typename Other_Map_Type::const_iterator it = other.begin();
78 it != other.end(); ++it)
80 key_const_reference r_key =(key_const_reference)PB_DS_V2F(*it);
81 mapped_const_pointer p_mapped_value =
82 const_cast<PB_DS_CLASS_C_DEC&
>(*this).
83 find_key_pointer(r_key, traits_base::m_store_extra_indicator);
85 if (p_mapped_value == 0)
88#ifdef PB_DS_DATA_TRUE_INDICATOR
89 if (p_mapped_value->second != it->second)
97template<
typename Other_HT_Map_Type>
100operator!=(
const Other_HT_Map_Type& other)
const
101{
return !operator==(other); }