Can you plzz help with the working of comparator func in lower_bound() method.
Comparator func in lower_bound() method
Refer this discussion Sir why we are putting -1 even after applying compare
If you still have any doubt then you can ask.
So, is it ok to say that the func will return the iterator for that el which results a false value using the comparator func
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.