Search for specific value in std::map
c++
Solution
Will this help? STL find_if
You need to have some sort of predicate, either a function pointer or an object with `operator()` implemented. Said predicate should take just one parameter.
Problem
Possible Duplicates: Checking value exist in a std::map - C++ How to traverse a stl map/vector/list/etc? Hello, Is it possible to search for specific value in std::map, not knowing the key? I know I could iterate over whole map, and compare values, but it is possible to do using a function from std algorithms?