We aren’t sure about how the actual lower_bound function works. So how can we be sure that return a<=b will work? Is it just trial and error if I want to build a comparator function for another function?
We aren’t sure about how the actual lower_bound function works. So how can we be sure that return a<=b will work? Is it just trial and error if I want to build a comparator function for another function?