For key lookups, check if the conversion to unsigned int is lossless.
| 247 | |
| 248 | // For key lookups, check if the conversion to unsigned int is lossless. |
| 249 | CEL_ABSL_VISIT_CONSTEXPR bool LosslessConvertibleToUint() const { |
| 250 | return absl::visit(internal::LosslessConvertibleToUintVisitor(), value_); |
| 251 | } |
| 252 | |
| 253 | CEL_ABSL_VISIT_CONSTEXPR bool operator<(Number other) const { |
| 254 | return Compare(other) == internal::ComparisonResult::kLesser; |