Overloaded_FunctionPointer wraps a function pointer. It is implicitly constructible from the pointer, and provides an operator() method that calls through to the underlying function.
Declared in <bdlf_overloaded.h>
template<
class RET,
class... ARGS>
struct Overloaded_FunctionPointer;
| Name | Description |
|---|---|
FpType | Alias for a free function pointer of the given signature. |
| Name | Description |
|---|---|
Overloaded_FunctionPointer [constructor] | Construct this object from the specified f. |
operator() | Call the function passed to the constructor with the specified args. |
| Name | Description |
|---|---|
d_fp | Free function pointer of the given signature. |