I want to get the iterator for the element I'm testing for in binary-search. But it only returns a bool indicating whether it found the value or not. How to get the iterator?
Reputation: 6 243
Question was closed 2017-10-05T10:15:30.133
You want either lower_bound, upper_bound, or equal_range.
Reputation: 11 905
Viewed: 8 474 times