numeric.int.limits ≡
template <typename T>
class limits §source
Numeric limit constants for integer types
Callbacks and Fields
-
const bool is_signed = (cast<T>(-(1)) < 0) §source
Indicates whether the type is signed
-
const T min = limits::is_signed ? cast<T>((1 << (bitsizeof(T) - 1))) : 0 §source
Smallest value of the type
-
const T max = cast<T>((limits::min - 1)) §source
Largest value of the type