| 290 | } |
| 291 | |
| 292 | iterator find(const Key& key) { |
| 293 | ValueWithId search_key(key, 0); |
| 294 | auto it = mTree.lower_bound(search_key); |
| 295 | if (it != mTree.end() && it->value == key) { |
| 296 | return iterator(it); |
| 297 | } |
| 298 | return end(); |
| 299 | } |
| 300 | |
| 301 | const_iterator find(const Key& key) const { |
| 302 | ValueWithId search_key(key, 0); |
nothing calls this directly
no test coverage detected