template <typename T>

class CheckedNumericState

Defined at line 466 of file ../../third_party/mini_chromium/src/base/numerics/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 489 of file ../../third_party/mini_chromium/src/base/numerics/checked_math_impl.h

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

Defined at line 492 of file ../../third_party/mini_chromium/src/base/numerics/checked_math_impl.h

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

Copy constructor.

Defined at line 500 of file ../../third_party/mini_chromium/src/base/numerics/checked_math_impl.h

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

Defined at line 505 of file ../../third_party/mini_chromium/src/base/numerics/checked_math_impl.h

bool is_valid ()

Defined at line 509 of file ../../third_party/mini_chromium/src/base/numerics/checked_math_impl.h

T value ()

Defined at line 510 of file ../../third_party/mini_chromium/src/base/numerics/checked_math_impl.h

Friends

template <typename SrcNumericRepresentation type>
class CheckedNumericState