template <typename T>

class CheckedNumericState

Defined at line 465 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

void CheckedNumericState<T, NUMERIC_INTEGER> ()

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

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

Defined at line 491 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)

Copy constructor.

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

template <typename Src>
void CheckedNumericState<T, NUMERIC_INTEGER> (Src value)

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

bool is_valid ()

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

T value ()

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

Friends

template <typename SrcNumericRepresentation type>
class CheckedNumericState