D
desktop
In section 23.1.2 table 69 upper and lower bound are defined like:
a.lower_bound(k) iterator; logarithmic
returns an iterator pointing to the
first element with key not less than k
a.upper_bound(k) iterator; logarithmic
returns an iterator pointing to the
first element with key greater than k
should "not less" in lower_bound not just be "less"? Or is it supposed
to be interpreted as "greater than or equal"?
a.lower_bound(k) iterator; logarithmic
returns an iterator pointing to the
first element with key not less than k
a.upper_bound(k) iterator; logarithmic
returns an iterator pointing to the
first element with key greater than k
should "not less" in lower_bound not just be "less"? Or is it supposed
to be interpreted as "greater than or equal"?