43 inline typename PB_DS_CLASS_C_DEC::size_type
46 {
return m_num_used_e; }
49 inline typename PB_DS_CLASS_C_DEC::size_type
52 {
return m_entry_allocator.max_size(); }
58 {
return (size() == 0); }
61 template<
typename Other_HT_Map_Type>
64 operator==(
const Other_HT_Map_Type& other)
const
65 {
return cmp_with_other(other); }
68 template<
typename Other_Map_Type>
71 cmp_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 =
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)
96 template<
typename Other_HT_Map_Type>
99 operator!=(
const Other_HT_Map_Type& other)
const
bool operator==(const exception_ptr &, const exception_ptr &) _GLIBCXX_USE_NOEXCEPT __attribute__((__pure__))
#define PB_DS_CLASS_C_DEC
Definition: bin_search_tree_.hpp:71
#define PB_DS_CLASS_T_DEC
Definition: bin_search_tree_.hpp:67
bool operator!=(const exception_ptr &, const exception_ptr &) _GLIBCXX_USE_NOEXCEPT __attribute__((__pure__))
#define PB_DS_V2F(X)
Definition: container_base_dispatch.hpp:80