![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
A customizable trait to indicate the zero, lowest, and highest values of a given representation type. More...
Static Public Member Functions | |
| static constexpr auto | max () noexcept(noexcept(numeric_limits< Rep >::max())) -> Rep |
Get the highest value of the given Rep type, which must compare > zero() | |
| static constexpr auto | min () noexcept(noexcept(numeric_limits< Rep >::lowest())) -> Rep |
Get the lowest value of the given Rep type, which must compare <= zero() | |
| static constexpr auto | zero () noexcept(is_nothrow_move_constructible_v< Rep >) -> Rep |
| Get the zero value of the given Rep type (formally, its additive identity) | |
A customizable trait to indicate the zero, lowest, and highest values of a given representation type.
| Rep | The representation type |
|
inlinestaticconstexprnoexcept |
Get the highest value of the given Rep type, which must compare > zero()
|
inlinestaticconstexprnoexcept |
Get the lowest value of the given Rep type, which must compare <= zero()
|
inlinestaticconstexprnoexcept |
Get the zero value of the given Rep type (formally, its additive identity)