template <typename T, typename U>

struct CheckedLshOp

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

Left shift. Shifts less than 0 or greater than or equal to the number

of bits in the promoted type are undefined. Shifts of negative values

are undefined. Otherwise it is defined when the result fits.

Public Methods

template <typename V>
bool Do (T x, U shift, V * result)

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