|
| template<class TA, class TB, class TR> |
| static TR | Operation (TA left, TB right) |
◆ Operation()
template<class TA, class TB, class TR>
| TR duckdb::AddOperatorOverflowCheck::Operation |
( |
TA | left, |
|
|
TB | right ) |
|
inlinestatic |
20186 {
20187 TR result;
20188 if (!TryAddOperator::Operation(left, right, result)) {
20189 throw OutOfRangeException(
"Overflow in addition of %s (%s + %s)!", TypeIdToString(
GetTypeId<TA>()),
20190 NumericHelper::ToString(left), NumericHelper::ToString(right));
20191 }
20192 return result;
20193 }
PhysicalType GetTypeId()
Returns the PhysicalType for the given type.
Definition duckdb.hpp:10381
The documentation for this struct was generated from the following file: