Expand description
Stores a disjoint collection of ranges over numeric types.
Overlapping and adjacent ranges are automatically merged together.
Structsยง
- Intersection
Iter ๐ - Range
Set - A set of disjoint ranges over numeric types.
Traitsยง
- OrdAdjacency
- Allows a two values to be tested for adjacency.
Functionsยง
- range_
intersection ๐ - If a and b intersect return a range representing the intersection.
- range_
is_ ๐subset - Returns true if the range [a_start, a_end] is a subset of [b_start, b_end].
- ranges_
overlap_ ๐or_ adjacent - Returns true if the ranges [a_start, a_end] and [b_start, b_end] overlap or are adjacent to each other.