FuncSketch
Loading...
Searching...
No Matches
func_sketch::math::UnaryOperatorType Concept Reference

Concept of unary operator types. More...

#include <func_sketch/math/unary_operator_type.h>

Concept definition

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& arg, Number& result) {
{ operator_object(arg, result) } -> std::same_as<void>;
};
}
std::variant< Integer, Real, Complex > Number
Type of numbers.
Concept of unary operator types.

Detailed Description

Concept of unary operator types.

Template Parameters
TType of the operator object.

Definition at line 35 of file unary_operator_type.h.