comparable_operands Concept
Concept satisfied when the operands of a comparator can be written and compared. More...
Definition
template <comparison Op, class Lhs_T, class Rhs_T>
concept micro_os_plus::micro_test_plus::detail::comparable_operands = extension::printable<Lhs_T> and extension::printable<Rhs_T>
and comparable<Op, Lhs_T, Rhs_T>
concept micro_os_plus::micro_test_plus::detail::comparable_operands = extension::printable<Lhs_T> and extension::printable<Rhs_T>
and comparable<Op, Lhs_T, Rhs_T>
Description
Concept satisfied when the operands of a comparator can be written and compared.
The operands of the comparators must be written in the report of a failed check, and compared with the operator. A single concept for both conditions selects the comparator, and its negation selects the overload that explains why a call is rejected.
- Template Parameters
-
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 530 of file detail-inlines.h.
template<comparison Op, class Lhs_T, class Rhs_T>
concept comparable_operands = extension::printable<Lhs_T> and extension::printable<Rhs_T>
and comparable<Op, Lhs_T, Rhs_T>
Generated via doxygen2docusaurus 2.2.8 by Doxygen 1.18.0.