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(); }
58{
return (size() == 0); }
61template<
typename Other_HT_Map_Type>
64operator==(
const Other_HT_Map_Type& other)
const
65{
return cmp_with_other(other); }
68template<
typename Other_Map_Type>
71cmp_with_other(
const Other_Map_Type& other)
const
73 if (size() != other.size())
76 for (
typename Other_Map_Type::const_iterator it = other.begin();
77 it != other.end(); ++it)
79 key_const_reference r_key =(key_const_reference)PB_DS_V2F(*it);
80 mapped_const_pointer p_mapped_value =
81 const_cast<PB_DS_CLASS_C_DEC&
>(*this).
82 find_key_pointer(r_key, traits_base::m_store_extra_indicator);
84 if (p_mapped_value == 0)
87#ifdef PB_DS_DATA_TRUE_INDICATOR
88 if (p_mapped_value->second != it->second)
96template<
typename Other_HT_Map_Type>
99operator!=(
const Other_HT_Map_Type& other)
const
100{
return !operator==(other); }