Search found 1 match

by xrchz
Tue Oct 05, 2004 8:13 am
Forum: Volume 101 (10100-10199)
Topic: 10150 - Doublets
Replies: 46
Views: 45937

the binary search functions in c++ which return indices (and not just bool) are:
lower_bound
upper_bound
equal_range

they perform binary search on sorted list of data and return either first index where you could insert object without violating ordering, last index, or both indices.

look them up ...

Go to advanced search