template <typename T>

class CheckedNumericState

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

Floating points maintain their own validity, but need translation wrappers.

Public Methods

void CheckedNumericState<T, NUMERIC_FLOATING> ()

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

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

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

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

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

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

Copy constructor.

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

bool is_valid ()

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

Friends

template <typename SrcNumericRepresentation type>
class CheckedNumericState