Expand description
Type and functions for comparing inclusive ranges
Enums§
- Range
Compare - Result of comparing a pair of ranges
(A,B)
- Range
Disjoint - Ways in which a pair of ranges
(A,B)
can be disjoint - Range
Intersect - Ways in which a pair of ranges
(A,B)
can intersect
Functions§
- intersection
- Compute the intersection of two inclusive ranges. Returns an empty range if they are disjoint.
- range_
compare - Compare two inclusive ranges.