template <typename T, typename U>

struct ClampedLshOp

Defined at line 172 of file ../../zircon/third_party/ulib/safemath/include/safemath/clamped_math_impl.h

Left shift. Non-zero values saturate in the direction of the sign. A zero

shifted by any value always results in zero.

Public Methods

template <typename V = result_type>
V Do (T x, U shift)

Defined at line 177 of file ../../zircon/third_party/ulib/safemath/include/safemath/clamped_math_impl.h