ΒΆtemplate <typename T>
typename std::enable_if<
std::is_unsigned<T>::value,
llvm::Optional<T>>::type
checkedMulUnsigned(T LHS, T RHS)
template <typename T>
typename std::enable_if<
std::is_unsigned<T>::value,
llvm::Optional<T>>::type
checkedMulUnsigned(T LHS, T RHS)
Description
Multiply two unsigned integers \p LHS and \p RHS.
Declared at: llvm/include/llvm/Support/CheckedArithmetic.h:95
Templates
- T
Parameters
- T LHS
- T RHS
Returns
Optional of product if no unsigned overflow occurred,\c None otherwise.