|
| template<class TA, class TB, class TR> |
| static TR | Operation (TA left, TB right) |
◆ Operation()
template<class TA, class TB, class TR>
| TR duckdb::SubtractOperatorOverflowCheck::Operation |
( |
TA | left, |
|
|
TB | right ) |
|
inlinestatic |
54107 {
54108 TR result;
54109 if (!TrySubtractOperator::Operation(left, right, result)) {
54110 throw OutOfRangeException(
"Overflow in subtraction of %s (%s - %s)!", TypeIdToString(
GetTypeId<TA>()),
54111 NumericHelper::ToString(left), NumericHelper::ToString(right));
54112 }
54113 return result;
54114 }
PhysicalType GetTypeId()
Returns the PhysicalType for the given type.
Definition duckdb.hpp:10381
The documentation for this struct was generated from the following file: