Given a std::pair of numbers (not iterators) or other values that have suitable comparison functions and the pair is the low,high of a range, is there already a library somewhere that does utilities such as range union, intersection, intersect testing, etc.?
--John