| 1070 | // the pair is equal to upper_bound(key). |
| 1071 | template <typename K> |
| 1072 | std::pair<iterator, iterator> equal_range(const K &key) { |
| 1073 | return {lower_bound(key), upper_bound(key)}; |
| 1074 | } |
| 1075 | template <typename K> |
| 1076 | std::pair<const_iterator, const_iterator> equal_range(const K &key) const { |
| 1077 | return {lower_bound(key), upper_bound(key)}; |
no outgoing calls