43 template<
typename Other_HT_Map_Type>
46 operator==(
const Other_HT_Map_Type& other)
const
47 {
return cmp_with_other(other); }
50 template<
typename Other_Map_Type>
53 cmp_with_other(
const Other_Map_Type& other)
const
55 if (size() != other.size())
58 for (
typename Other_Map_Type::const_iterator it = other.begin();
59 it != other.end(); ++it)
61 key_const_reference r_key = key_const_reference(PB_DS_V2F(*it));
63 mapped_const_pointer p_mapped_value =
64 const_cast<PB_DS_CLASS_C_DEC&
>(*this).
65 find_key_pointer(r_key, traits_base::m_store_extra_indicator);
67 if (p_mapped_value == 0)
70 #ifdef PB_DS_DATA_TRUE_INDICATOR
71 if (p_mapped_value->second != it->second)
79 template<
typename Other_HT_Map_Type>
82 operator!=(
const Other_HT_Map_Type& other)
const
83 {
return !operator==(other); }