|
| constexpr bool | operator< (Range const &lhs, Range const &rhs) noexcept |
| | Interval ordering: [a, b] < [c, d] iff b < c.
|
| |
| constexpr bool | operator< (Range const &lhs, value_type rhs) noexcept |
| | Range-scalar ordering: [a, b] < t iff b < t.
|
| |
| constexpr bool | operator< (value_type lhs, Range const &rhs) noexcept |
| | Scalar-range ordering: t < [a, b] iff t < a.
|
| |
| constexpr bool | operator<= (Range const &lhs, Range const &rhs) noexcept |
| | Interval ordering: [a, b] <= [c, d] iff b <= c.
|
| |
| constexpr bool | operator<= (Range const &lhs, value_type rhs) noexcept |
| | Range-scalar ordering: [a, b] <= t iff b <= t.
|
| |
| constexpr bool | operator<= (value_type lhs, Range const &rhs) noexcept |
| | Scalar-range ordering: t <= [a, b] iff t <= a.
|
| |
| constexpr bool | operator== (Range const &lhs, Range const &rhs) noexcept=default |
| | Equality comparison.
|
| |
| constexpr bool | operator== (Range const &lhs, value_type rhs) noexcept |
| | Equality comparison with scalar: [a, b] == t iff a == t && b == t.
|
| |
| constexpr bool | operator== (value_type lhs, Range const &rhs) noexcept |
| | Equality comparison with scalar: t == [a, b] iff t == a && t == b.
|
| |
| constexpr bool | operator> (Range const &lhs, Range const &rhs) noexcept |
| | Interval ordering: [a, b] > [c, d] iff a > d.
|
| |
| constexpr bool | operator> (Range const &lhs, value_type rhs) noexcept |
| | Range-scalar ordering: [a, b] > t iff a > t.
|
| |
| constexpr bool | operator> (value_type lhs, Range const &rhs) noexcept |
| | Scalar-range ordering: t > [a, b] iff t > b.
|
| |
| constexpr bool | operator>= (Range const &lhs, Range const &rhs) noexcept |
| | Interval ordering: [a, b] >= [c, d] iff a >= d.
|
| |
| constexpr bool | operator>= (Range const &lhs, value_type rhs) noexcept |
| | Range-scalar ordering: [a, b] >= t iff a >= t.
|
| |
| constexpr bool | operator>= (value_type lhs, Range const &rhs) noexcept |
| | Scalar-range ordering: t >= [a, b] iff t >= b.
|
| |
template<typename T>
struct ufo::Range< T >
Represents a closed interval [lower, upper] of a scalar type.
- Template Parameters
-
| T | Scalar type (e.g., int, float, double). |
Provides interval operations, ordering, and containment checks.
Definition at line 66 of file range.hpp.