| 38 | const_iterator end() const { return data.end(); } |
| 39 | |
| 40 | iterator find(const Key &key) { |
| 41 | for (auto it = begin(); it != end(); ++it) { |
| 42 | if (it->first == key) { |
| 43 | return it; |
| 44 | } |
| 45 | } |
| 46 | return end(); |
| 47 | } |
| 48 | |
| 49 | const_iterator find(const Key &key) const { |
| 50 | for (auto it = begin(); it != end(); ++it) { |