Result type | The type returned when the Unary Function is called |
F
A type that is a model of Unary Function
X
The argument type of
Result
The result type of
f
Object of type
x
Object of type
The
The
Name | Expression | Return type |
---|---|---|
Function call | f(x) | Result |
Name | Expression | Precondition | Semantics | Postcondition |
---|---|---|---|---|
Function call | f(x) | Calls | The return value is in |
• Result (*)(X)
[1] Two different invocations of
Function Object overview, Generator, Binary Function Adaptable Unary Function
Binary Function
Category: functors
Component type: concept
A Binary Function is a kind of function object: an object that is called as if it were an ordinary C++ function. A Binary Function is called with two arguments.
Assignable
First argument type | The type of the Binary Function's first argument. |
Second argument type | The type of the Binary Function's second argument. |
Result type | The type returned when the Binary Function is called |
F
A type that is a model of BinaryFunction
X
The first argument type of
Y
The second argument type of
Result
The result type of
f
Object of type
x
Object of type
y
Object of type
The
The