template <typename T>

class CheckedNumericState

Defined at line 544 of file ../../zircon/third_party/ulib/safemath/include/safemath/checked_math_impl.h

Integrals require quite a bit of additional housekeeping to manage state.

Public Methods

template <typename Src = int>
void CheckedNumericState<T, NUMERIC_INTEGER> (Src value, bool is_valid)

Defined at line 548 of file ../../zircon/third_party/ulib/safemath/include/safemath/checked_math_impl.h

template <typename Src>
void CheckedNumericState<T, NUMERIC_INTEGER> (const CheckedNumericState<Src> & rhs)

Defined at line 555 of file ../../zircon/third_party/ulib/safemath/include/safemath/checked_math_impl.h

bool is_valid ()

Defined at line 558 of file ../../zircon/third_party/ulib/safemath/include/safemath/checked_math_impl.h

T value ()

Defined at line 560 of file ../../zircon/third_party/ulib/safemath/include/safemath/checked_math_impl.h