27struct IsNumber : std::bool_constant<std::is_arithmetic_v<T>> {};
29template <std::
floating_po
int T>
30struct IsNumber<std::complex<T>> : std::true_type {};
33struct IsComplex : std::false_type {};
35template <std::
floating_po
int T>
36struct IsComplex<std::complex<T>> : std::true_type {};
45concept number = detail::IsNumber<T>::value;
49concept intNumber = std::is_integral_v<std::remove_cvref_t<T>>;
Constrains a type to represent a complex valued floating point number (e.g.
Definition: NumericTypeConcepts.h:83
Constrains a type to be of the type DisabledConstant.
Definition: NumericTypeConcepts.h:91
Constrains a type to represent a real valued 32 bit integer number.
Definition: NumericTypeConcepts.h:53
Constrains a type to represent a real valued 64 bit integer number.
Definition: NumericTypeConcepts.h:57
Constrains a type to represent a real valued integer number.
Definition: NumericTypeConcepts.h:49
Constrains a type to represent a real valued or std::complex number type.
Definition: NumericTypeConcepts.h:45
Constrains a type to represent a real valued floating point number.
Definition: NumericTypeConcepts.h:79
Constrains a type to represent a real valued number.
Definition: NumericTypeConcepts.h:75
Constrains a type to represent a real or complex valued floating point number.
Definition: NumericTypeConcepts.h:87
Constrains a type to represent a real valued signed integer number.
Definition: NumericTypeConcepts.h:65
Constrains a type to represent a real valued signed number (e.g.
Definition: NumericTypeConcepts.h:61
Constrains a type to represent a real valued unsigned integer number.
Definition: NumericTypeConcepts.h:70