bsl::unordered_map::equal_range

Return a pair of iterators providing modifiable access to the sequence of value_type objects in this unordered map having the specified key, where the first iterator is positioned at the start of the sequence, and the second is positioned one past the end of the sequence. If this unordered map contains no value_type object having key, then the two returned iterators will have the same value, end(). Note that since an unordered map maintains unique keys, the range will contain at most one element.

Synopsis

Declared in <bslstl_unorderedmap.h>

pair<iterator, iterator>
equal_range(key_type const& key);