template <typename Dst, typename Src, typename Enable = void>
struct SaturateFastOp
Defined at line 154 of file ../../third_party/mini_chromium/src/base/numerics/safe_conversions.h
We can reduce the number of conditions and get slightly better performance
for normal signed and unsigned integer ranges. And in the specific case of
Arm, we can use the optimized saturation instructions.
Public Members
static const bool is_supported
Public Methods
Dst Do (Src value)
Defined at line 156 of file ../../third_party/mini_chromium/src/base/numerics/safe_conversions.h