4#include <unordered_map>
31 typedef std::unordered_multimap<K, wrap> stlMap;
47 const K* getKey()
const;
49 const V& getVal()
const;
55 const K* _key =
nullptr;
83 const K* getKey()
const;
84 const V* getVal()
const BY_CONST_FUNC(getVal())
87 bool operator!=(
const iterator& rhs)
const;
88 bool operator==(
const iterator& rhs)
const;
91 iterator& _step(ncnt step, nbool isReversed);
92 static const K& _getDummyKey();
110 iterator begin(
const K* key)
const BY_SIDE_FUNC(key, begin(*key), begin());
114 iterator rbegin(
const K& key)
const;
115 iterator rbegin(
const K* key)
const BY_SIDE_FUNC(key, rbegin(*key), rbegin());
117 void insert(
const K& key, V&& val);
134 typename stlMap::iterator _erase(
const typename stlMap::iterator& e);
136 void _link(
wrap& newTail);
137 void _unlink(
wrap& toDelete);
138 iterator _begin(
const K& key, nbool isReversed)
const;
Deferred execution utility like defer keyword in other languages.
Definition: end.hpp:14
Definition: smultimap.hpp:61
Definition: smultimap.hpp:33
Definition: smultimap.hpp:24
void erase(const K &key)
delete all elements matching given key.