1.5.3.4 Bounding



(f,f) equal_range(f,f,&)
(f,f) equal_range(f,f,&,bpred)

Find the lower bound and upper bound of a value within a range and return a pair of iterators .

1)container should be sorted firstly, 2) order by default < or bpred. 3) Sorted by bpred, find by bpred.



f lower_bound(f,f,&)
f lower_bound(f,f,&,bpred)

Find the lower bound of a value within a range and return an iterator pointing to it.



f upper_bound(f,f,&)
f upper_bound(f,f,&,bpred)

Find the upper bound of a value within a range and return an iterator pointing to it.