1.5.3.10 Merging


inplace_merge(b,b,b)
inplace_merge(b,b,b,bpred)

Merge two sorted ranges, in place, into a single sorted range.



o merge(i1,i1,i2,i2,o)
o merge(i1,i1,i2,i2,o,bpred)

Merge two sorted ranges into a single sorted range.



Min/Max



& min(&,&)
& min(&,&,bpred)

Find the minimum of two values and return a reference to that value.



& max(&,&)
& max(&,&,bpred)

Find the maximum of two values and return a reference to that value.



f min_element(f,f)
f min_element(f,f,bpred)

Find the minimum value in a range and return an iterator pointing to that value.



f max_element(f,f)
f max_element(f,f,bpred)

Find the maximum value in a range and return an iterator pointing to that value.