Module range_set::range_compare[][src]

Expand description

Type and functions for comparing inclusive ranges

Enums

Result of comparing a pair of ranges (A,B)

Ways in which a pair of ranges (A,B) can be disjoint

Ways in which a pair of ranges (A,B) can intersect

Functions

Compute the intersection of two inclusive ranges. Returns an empty range if they are disjoint.

TODO: replace with standard library is_empty method when PR #48087 is merged

Compare two inclusive ranges.