MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / operator()

Method operator()

internal/number.h:170–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 explicit constexpr CompareVisitor(NumberVariant rhs) : rhs(rhs) {}
169
170 CEL_ABSL_VISIT_CONSTEXPR ComparisonResult operator()(double v) {
171 return absl::visit(DoubleCompareVisitor(v), rhs);
172 }
173
174 CEL_ABSL_VISIT_CONSTEXPR ComparisonResult operator()(uint64_t v) {
175 return absl::visit(UintCompareVisitor(v), rhs);

Callers

nothing calls this directly

Calls 3

UintCompareVisitorClass · 0.85
IntCompareVisitorClass · 0.85

Tested by

no test coverage detected