42 #ifdef PB_DS_CLASS_C_DEC 45 template<
typename Other_HT_Map_Type>
48 operator==(
const Other_HT_Map_Type& other)
const 49 {
return cmp_with_other(other); }
52 template<
typename Other_Map_Type>
55 cmp_with_other(
const Other_Map_Type& other)
const 57 if (
size() != other.size())
60 for (
typename Other_Map_Type::const_iterator it = other.begin();
61 it != other.end(); ++it)
63 key_const_reference r_key = key_const_reference(PB_DS_V2F(*it));
65 mapped_const_pointer p_mapped_value =
66 const_cast<PB_DS_CLASS_C_DEC&
>(*this).
67 find_key_pointer(r_key, traits_base::m_store_extra_indicator);
69 if (p_mapped_value == 0)
72 #ifdef PB_DS_DATA_TRUE_INDICATOR 73 if (p_mapped_value->second != it->second)
81 template<
typename Other_HT_Map_Type>
84 operator!=(
const Other_HT_Map_Type& other)
const constexpr auto size(const _Container &__cont) noexcept(noexcept(__cont.size())) -> decltype(__cont.size())
Return the size of a container.
bool operator==(const scoped_allocator_adaptor< _OutA1, _InA... > &__a, const scoped_allocator_adaptor< _OutA2, _InA... > &__b) noexcept