Difference between lower_bound s

Revision en1, by Aryan, 2017-07-22 15:28:17

I really want to know whats the difference between 2 types of lower_bound? 1) lower_bound(st.begin(), st.end(), val) and 2) st.lower_bound(val). As you can see in 28778333 and 28778499 the second type is much much faster!

Tags lower bound

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Aryan 2017-07-22 15:28:17 280 Initial revision (published)