|
| template<class TA, class TB, class TR> |
| static TR | Operation (TA left, TB right) |
◆ Operation()
template<class TA, class TB, class TR>
| TR duckdb::MultiplyOperatorOverflowCheck::Operation |
( |
TA | left, |
|
|
TB | right ) |
|
inlinestatic |
53985 {
53986 TR result;
53987 if (!TryMultiplyOperator::Operation(left, right, result)) {
53988 throw OutOfRangeException(
"Overflow in multiplication of %s (%s * %s)!", TypeIdToString(
GetTypeId<TA>()),
53989 NumericHelper::ToString(left), NumericHelper::ToString(right));
53990 }
53991 return result;
53992 }
PhysicalType GetTypeId()
Returns the PhysicalType for the given type.
Definition duckdb.hpp:10381
The documentation for this struct was generated from the following file: