#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 dlrCommon/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.
Definition at line 321 of file dlrCommon/functional.h.
| dlr::common::PointerToBinaryFunctionRA< ArgumentType0, ArgumentType1, ResultType >::PointerToBinaryFunctionRA | ( | FunctionPtrType | functionPtr | ) | [inline, explicit] |
Constructor requires a function pointer to wrap.
Definition at line 328 of file dlrCommon/functional.h.
| 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 dlrCommon/functional.h.
1.5.2