lhs ==
rhs
.Warn.hookOpEquals
bool hookOpEquals(Lhs, Rhs)(Lhs lhs, Rhs rhs)Called automatically upon a comparison for equality. In case of an Erroneous comparison (one that would make a signed negative value appear equal to an unsigned positive value), writes a warning message to stderr as a side effect.
Parameters
lhs | The first argument of Checked, e.g. int if the left-hand side of the operator is Checked!int |
rhs | The right-hand side type involved in the operator |
Returns
In all cases the function returns the built-in result of