Find function in STL C++ for unordered multimap?

105 Views Asked by At

The find function only returns one pointer for duplicate elements in multimap. How can we return pointer to other duplicate element in multimap.

1

There are 1 best solutions below

0
On BEST ANSWER

You could use equal_range, which returns a pair of iterators to the range of elements matching a key.