template <typename T, typename Lhs, typename Rhs = Lhs>

struct IsIntegerArithmeticSafe

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

We can statically check if operations on the provided types can wrap, so we

can skip the checked operations if they're not needed. So, for an integer we

care if the destination type preserves the sign and is twice the width of

the source.

Public Members

static const bool value