template <typename Right, typename Left, typename Enabled = void>
struct ComparisonTraits
Defined at line 351 of file ../../zircon/system/ulib/ffl/include/ffl/expression.h
Traits type to determine whether two types may be compared. Provides Left and
Right conversion operations to convert to a common format for comparison.
Any combination of integer, Fixed
<
>, and Expression
<
> are supported,
excluding integer-integer and Expression-Expression comparisons; integer-
integer comparisons are already handled by the language, whereas Expression-
Expression comparisons are excluded because expressions do not have a
definite resolution until assigned.
To compare two expressions explicitly convert at least one side to Fixed
<
>.