Using lambda function to find a minimum value in a std::unordered_map
I am trying to find the element with the minimum value in the map. For example, if my map has
{ (1, 12.3),(2, 6.51), (3, 1.24)}
I would like to find the element (3, 1.24).
I wrote the following...