|
static constexpr bool | is_specialized = false |
| This value is true for all T for which there exists a specialization of numeric_traits. More...
|
|
static constexpr bool | is_complex = false |
| Whether T is a complex number.
|
|
static constexpr auto | real = [](T) { throw std::logic_error("Interface not implemented"); } |
| A callable object that returns the real part of the argument of type T.
|
|
static constexpr auto | imag = [](T) { throw std::logic_error("Interface not implemented"); } |
| A callable object that returns the real part of the argument of type T.
|
|
static constexpr auto | make_complex = [](T re, T im) { throw std::logic_error("Interface not implemented"); } |
| A callable object that makes a complex number consistent with T from two real arguments. More...
|
|
◆ is_specialized
template<typename T, typename = void>
This value is true for all T for which there exists a specialization of numeric_traits.
T is considered to be a number if and only if this is true.
◆ make_complex
template<typename T, typename = void>
A callable object that makes a complex number consistent with T from two real arguments.
- Parameters
-
re | Real part |
im | Imaginary part |
The documentation for this struct was generated from the following file: