How to get the iterator for a successful binary_search? [duplicate] July 27, 2023 by Tarik You want either lower_bound, upper_bound, or equal_range.