The type returned when the Unary Function is called |
F
A type that is a model of Unary Function
None, except for those defined by Unary Function
• negate
• identity
• pointer_to_unary_function
[1] Note the implication of this: a function pointer
[2] When you define a class that is a model of Adaptable Unary Function, you must provide these
Unary Function, Adaptable Generator, Adaptable Binary Function
Adaptable Binary Function
Category: functors
Component type: concept
An Adaptable Binary Function is a Binary Function with nested
Binary Function
First argument type | F::first_argument_type | The type of |
Second argument type | F::second_argument_type | The type of |
Result type | F::result_type | The type returned when the Binary Function is called |
F
A type that is a model of Binary Function
None, except for those defined by Binary Function
• plus
• project1st
• pointer_to_binary_function
[1] Note the implication of this: a function pointer
[2] When you define a class that is a model of Adaptable Binary Function, you must provide these
Binary Function, Adaptable Generator, Adaptable Unary Function
Predicates
Predicate
Category: functors
Component type: concept
A Predicate is a Unary Function whose result represents the truth or falsehood of some condition. A Predicate might, for example, be a function that takes an argument of type
Unary Function
Result type | The type returned when the Predicate is called. The result type must be convertible to |