Skip to main content

any_op Concept

Concept satisfied when at least one of two types is a framework expression type. More...

Definition​

template <class Lhs_T, class Rhs_T>
concept micro_os_plus::micro_test_plus::extension::any_op = is_op<Lhs_T> or is_op<Rhs_T>

Description​

Concept satisfied when at least one of two types is a framework expression type.

Template Parameters
Lhs_T

The type of the left-hand operand.

Rhs_T

The type of the right-hand operand.

The any_op concept is satisfied when Lhs_T or Rhs_T (or both) are framework expression types (see is_op). A custom operator constrains its overload with it, so that the overload is enabled only when at least one operand is a framework expression type, and does not compete with the operators of the application types. The framework itself uses it only for the deprecated operators.

Definition at line 369 of file extension.h.

  template<class Lhs_T, class Rhs_T>
  concept any_op = is_op<Lhs_T> or is_op<Rhs_T>

Generated via doxygen2docusaurus 2.2.8 by Doxygen 1.18.0.