Concept of binary operator types.
More...
#include <func_sketch/math/binary_operator_type.h>
template<typename T>
requires requires(const T& operator_object) {
{ operator_object.name() } -> std::convertible_to<std::string_view>;
};
requires requires(
const T& operator_object,
const Number& left,
{ operator_object(left, right, result) } -> std::same_as<void>;
};
}
std::variant< Integer, Real, Complex > Number
Type of numbers.
Concept of binary operator types.
Concept of binary operator types.
- Template Parameters
-
| T | Type of the operator object. |
Definition at line 35 of file binary_operator_type.h.