42 #ifdef PB_DS_CLASS_C_DEC
45 inline typename PB_DS_CLASS_C_DEC::size_type
48 {
return m_num_used_e; }
51 inline typename PB_DS_CLASS_C_DEC::size_type
54 {
return m_entry_allocator.max_size(); }
61 {
return (size() == 0); }
64 template<
typename Other_HT_Map_Type>
67 operator==(
const Other_HT_Map_Type& other)
const
68 {
return cmp_with_other(other); }
71 template<
typename Other_Map_Type>
74 cmp_with_other(
const Other_Map_Type& other)
const
76 if (size() != other.size())
79 for (
typename Other_Map_Type::const_iterator it = other.begin();
80 it != other.end(); ++it)
82 key_const_reference r_key =(key_const_reference)PB_DS_V2F(*it);
83 mapped_const_pointer p_mapped_value =
84 const_cast<PB_DS_CLASS_C_DEC&
>(*this).
85 find_key_pointer(r_key, traits_base::m_store_extra_indicator);
87 if (p_mapped_value == 0)
90 #ifdef PB_DS_DATA_TRUE_INDICATOR
91 if (p_mapped_value->second != it->second)
99 template<
typename Other_HT_Map_Type>
102 operator!=(
const Other_HT_Map_Type& other)
const
constexpr bool operator==(const duration< _Rep1, _Period1 > &__lhs, const duration< _Rep2, _Period2 > &__rhs)