Lines Matching refs:Value
26 template <typename Key, typename Value, typename HashFn>
33 size_t operator()(const std::pair<Key, Value>& pair) const { in operator()
41 template <typename Key, typename Value, typename PredFn>
44 bool operator()(const std::pair<Key, Value>& a, const std::pair<Key, Value>& b) const { in operator()
49 bool operator()(const std::pair<Key, Value>& a, const Element& element) const { in operator()
57 template <typename Key, typename Value>
60 void MakeEmpty(std::pair<Key, Value>& item) const { in MakeEmpty()
61 item = std::pair<Key, Value>(); in MakeEmpty()
63 bool IsEmpty(const std::pair<Key, Value>& item) const { in IsEmpty()
69 class Value,
70 class EmptyFn = DefaultMapEmptyFn<Key, Value>,
73 class Alloc = std::allocator<std::pair<Key, Value>>>
74 class HashMap : public HashSet<std::pair<Key, Value>,
76 HashMapHashWrapper<Key, Value, HashFn>,
77 HashMapPredWrapper<Key, Value, Pred>,
80 using Base = HashSet<std::pair<Key, Value>,
82 HashMapHashWrapper<Key, Value, HashFn>,
83 HashMapPredWrapper<Key, Value, Pred>,
91 typename Base::iterator Overwrite(const Key& k, const Value& v) { in Overwrite()