I am using Boost unordered_map. I have a key value pair for each entry. How could I determine whether a particular value exist in the map? (I don\'t want to create another u
You need to iterate over all the elements in the unordered_map and see if the given value exists.
unordered_map
The std::find_if algorithm with a custom predicate can be used to simplify this.
std::find_if