| 1544 | : iterator(elements_->find(key)); |
| 1545 | } |
| 1546 | std::pair<const_iterator, const_iterator> equal_range( |
| 1547 | const key_type& key) const { |
| 1548 | const_iterator it = find(key); |
| 1549 | if (it == end()) { |
| 1550 | return std::pair<const_iterator, const_iterator>(it, it); |
| 1551 | } else { |
| 1552 | const_iterator begin = it++; |
| 1553 | return std::pair<const_iterator, const_iterator>(begin, it); |
| 1554 | } |
| 1555 | } |
| 1556 | std::pair<iterator, iterator> equal_range(const key_type& key) { |
| 1557 | iterator it = find(key); |
| 1558 | if (it == end()) { |