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

相关文章
相关标签/搜索