stl binary search

stl binary search

upper_bound

http://msdn.microsoft.com/en-us/library/7a0e117a(v=vs.71).aspx css

Finds the position of the first element in an ordered range that has a value that is greater than a specified value, where the ordering criterion may be specified by a binary predicate. html

lower_bound

http://msdn.microsoft.com/en-us/library/34hhk3zb(v=vs.71).aspx ui

Finds the position of the first element in an ordered range that has a value greater than or equivalent to a specified value, where the ordering criterion may be specified by a binary predicate. spa


Post by: Jalen Wang (轉載請註明出處)code

相關文章
相關標籤/搜索