This class provides a functor that delegates to the function referred to by a function pointer supplied on construction. Delegation is supported through the conversion operator, which implicitly returns a reference to the parameterized FUNCTION_POINTER.
Declared in <bslalg_functoradapter.h>
template<class FUNCTION_POINTER>
class FunctorAdapter_FunctionPointer;
| Name | Description |
|---|---|
FunctorAdapter_FunctionPointer [constructor] | Create a FunctorAdapter_FunctionPointer object that will delegate to the function referred to by the specified functionPtr. |
operator FUNCTION_POINTER& | Convert this object to the parameterized FUNCTION_POINTER by returning the function pointer supplied on construction. |
operator FUNCTION_POINTER const& | Convert this object to the parameterized FUNCTION_POINTER by returning the function pointer supplied on construction. |