template<class LHS, class RHS>
Sum class
Represents the sum operation.
Template parameters | |
---|---|
LHS | Type of left hand side operand |
RHS | Type of right hand side operand |
Represents the following mathematical expression:
which represents the usual arithmetic addition of two operands.
Range Deduction Rules
The rule for deducing the range of a Sum object, denoted , is the following: