plll
1.0
|
Provides information on the result of a binary arithmetic operation. More...
#include <arithmetic.hpp>
Public Types | |
enum | { supported, intermediate_expression } |
typedef implementation::binary_operation_impl < typename helper::remove_decorations< A > ::Result, typename helper::remove_decorations< B > ::Result, Op > ::IntermediateType | IntermediateType |
typedef implementation::binary_operation_impl < typename helper::remove_decorations< A > ::Result, typename helper::remove_decorations< B > ::Result, Op >::ResultType | ResultType |
Provides information on the result of a binary arithmetic operation.
See Result Types of Arithmetic Operations for documentation.
A | The first operand. |
B | The second operand. |
Op | The operator. Should be one of op::addition , op::subtraction , op::multiplication , op::division and op::modulo . |
Definition at line 93 of file arithmetic.hpp.
typedef implementation::binary_operation_impl<typename helper::remove_decorations<A>::Result, typename helper::remove_decorations<B>::Result, Op>::IntermediateType plll::arithmetic::binary_operation< A, B, Op >::IntermediateType |
The intermediate result of the operation op
involving the two operands of type A
and B
. This will be the direct result type of A op B
, and usually is a type which contains almost no informations and which can be copied efficiently (as opposed to ResultType
, which can be expensive to copy).
Definition at line 114 of file arithmetic.hpp.
typedef implementation::binary_operation_impl<typename helper::remove_decorations<A>::Result, typename helper::remove_decorations<B>::Result, Op>::ResultType plll::arithmetic::binary_operation< A, B, Op >::ResultType |
The final result type of the operation op
involving two operands of type A
and B
.
Definition at line 110 of file arithmetic.hpp.
anonymous enum |
Definition at line 95 of file arithmetic.hpp.