|
micro-test-plus 6.0.0
µTest++ Testing Framework
|
Concept satisfied when two operands can be compared by the comparator selected by Op. More...
#include <detail-inlines.h>
The comparison is the one made by the apply() function of the comparison tag: by value for the integers of different signedness (see sign_mixed_integers), otherwise with the operator of the language. A function pointer compared with an object pointer is also accepted (see function_pointer_pair). Used to reject the call of eq() and of the other comparators at the call site, with a short diagnostic; the operator check is the first alternative, so that the Clang diagnostic names the invalid operator and the two types first (GCC reports only that no alternative is satisfied).
| Op | The comparison. |
| Lhs_T | The type deduced for the left hand side operand. |
| Rhs_T | The type deduced for the right hand side operand. |
Definition at line 507 of file detail-inlines.h.