ΒΆtemplate <typename T>
typename std::enable_if<std::is_signed<T>::value,
T>::type
SubOverflow(T X, T Y, T& Result)
template <typename T>
typename std::enable_if<std::is_signed<T>::value,
T>::type
SubOverflow(T X, T Y, T& Result)
Description
Subtract two signed integers, computing the two's complement truncated result, returning true if an overflow ocurred.
Declared at: llvm/include/llvm/Support/MathExtras.h:902
Templates
- T
Parameters
- T X
- T Y
- T& Result