![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
|
constexpr |
constexpr reference to the multiplicative identity value one<T>::value .
| T | numeric type |
Binds a constexpr reference to one<T>::value , so it is valid for every specialization, including one whose value is not usable in a constant expression. Reading the accessor within a constant expression additionally requires that one<T>::value itself be usable in a constant expression.
|
externconstexpr |
The value of Pi, in the specified floating point type. Type must be float or double , or a type for which an explicit specialization of pi_v has been made.
| Type | The chosen type |
|
constexpr |
constexpr reference to the additive identity value zero<T>::value .
| T | numeric type |
Binds a constexpr reference to zero<T>::value , so it is valid for every specialization, including one whose value is not usable in a constant expression. Reading the accessor within a constant expression additionally requires that zero<T>::value itself be usable in a constant expression.