#include <functional.h>
Public Types | |
| typedef ResultType(* | FunctionPtrType )(const ArgumentType0 &, const ArgumentType1 &) |
| Typedef describing what type of function is to be wrapped by this class. | |
Public Member Functions | |
| PointerToBinaryFunctionRA (FunctionPtrType functionPtr) | |
| Constructor requires a function pointer to wrap. | |
| ResultType | operator() (const ArgumentType0 &argument0, const ArgumentType0 &argument1) const |
| Call the wrapped function pointer and return the result. | |
Currently, calling std::mem_fun() for such a function pointer causes "forming reference to reference" compile errors.
Definition at line 315 of file functional.h.
| typedef ResultType(* dlr::common::PointerToBinaryFunctionRA< ArgumentType0, ArgumentType1, ResultType >::FunctionPtrType)(const ArgumentType0 &, const ArgumentType1 &) |
Typedef describing what type of function is to be wrapped by this class.
| dlr::common::PointerToBinaryFunctionRA< ArgumentType0, ArgumentType1, ResultType >::PointerToBinaryFunctionRA | ( | FunctionPtrType | functionPtr | ) | [inline, explicit] |
| ResultType dlr::common::PointerToBinaryFunctionRA< ArgumentType0, ArgumentType1, ResultType >::operator() | ( | const ArgumentType0 & | argument0, | |
| const ArgumentType0 & | argument1 | |||
| ) | const [inline] |
Call the wrapped function pointer and return the result.
| argument0 | Will be passed as an argument to the function pointer. | |
| argument1 | Will be passed as an argument to the function pointer. |
Definition at line 341 of file functional.h.
1.5.8