The function object's result type |
Adaptable Binary Function
binary_function<Arg1, Arg2, Result>
Member | Where defined | Description |
---|---|---|
first_argument_type | Adaptable Binary Function | The type of the first argument: |
second_argument_type | Adaptable Binary Function | The type of the second argument: |
result_type | Adaptable Binary Function | The type of the result: |
Result operator()(Arg1 x, Arg2 y) | Binary Function | Function call operator. |
pointer_to_binary_function(Result (*f)(Arg1, Arg2)) | pointer_to_binary_function | See below. |
pointer_to_binary_function() | pointer_to_binary_function | See below. |
template <class Arg1, class Arg2, class Result> pointer_to_unary_function<Arg1, Arg2, Result> ptr_fun(Result (*x)(Arg1, Arg2)); | pointer_to_binary_function | See below. |
These members are not defined in the Adaptable Binary Function requirements, but are specific to
Member | Description |
---|---|
pointer_to_binary_function(Result (*f)(Arg1, Arg2)) | The constructor. Creates a |
pointer_to_binary_function() | The default constructor. This creates a |
template <class Arg1, class Arg2, class Result> pointer_to_unary_function<Arg1, Arg2, Result> ptr_fun(Result (*x)(Arg1, Arg2)); | If |
unary_negate<AdaptablePredicate>
Categories: functors, adaptors
Component type: type