| Home |
Concepts |
TypeTemplates |
Types |
TypeFunctions |
InlineConstants |
Type_function to return the type of the result of a binary operation on 2 input types.
The type_function is intended to be extended to express the result of operations on UDTs'.
typename |
type |
notes |
Lhs |
Any |
The type of the left operand |
Rhs |
Any |
The type of the right operand |
Op |
operator tag |
a tag representing the operation |
R |
Any |
the type of the result |
V |
compile time type |
Usually an integer or boolean constant |
type expression |
result |
notes |
binary_op< Lhs, Op, Rhs>::type |
R |
|
binary_op_t<Lhs,Op,Rhs> |
R |
shortened format |
value expression |
result |
notes |
binary_op_v<Lhs,Op,Rhs> |
v |
compile time constant |