OEMultiplicationWillOverflow¶
template<typename NumType>
bool OEMultiplicationWillOverflow(NumType m, NumType n)
Returns true if the multiplication of m and n will
overflow the integer number type NumType. Returning false
indicates the numbers can be safely multiplied without incurring
any undefined C++ behavior.