Lines Matching refs:KeyT
29 template <typename KeyT, typename ValT> class IntervalMapBase {
31 using KeyPairT = std::pair<KeyT, KeyT>;
38 bool operator()(const KeyPairT &LHS, const KeyT &RHS) const { in operator()
41 bool operator()(const KeyT &LHS, const KeyPairT &RHS) const { in operator()
63 iterator find(KeyT K) { in find()
77 const_iterator find(KeyT K) const { in find()
78 return const_cast<IntervalMapBase<KeyT, ValT> *>(this)->find(K); in find()
81 ValT lookup(KeyT K, ValT NotFound = ValT()) const {
90 void erase(KeyT KS, KeyT KE) { in erase()
125 template <typename KeyT, typename ValT, IntervalCoalescing Coalescing>
128 template <typename KeyT, typename ValT>
129 class IntervalMap<KeyT, ValT, IntervalCoalescing::Enabled>
130 : public IntervalMapBase<KeyT, ValT> {
133 void insert(KeyT KS, KeyT KE, ValT V) { in insert()
156 template <typename KeyT, typename ValT>
157 class IntervalMap<KeyT, ValT, IntervalCoalescing::Disabled>
158 : public IntervalMapBase<KeyT, ValT> {
161 void insert(KeyT KS, KeyT KE, ValT V) { in insert()