|
BDE 4.14.0 Production release
|
#include <bslalg_functoradapter.h>
Public Member Functions | |
| FunctorAdapter_FunctionPointer (FUNCTION_POINTER functionPtr) | |
| operator FUNCTION_POINTER & () | |
| operator const FUNCTION_POINTER & () const | |
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.
|
inlineexplicit |
Create a FunctorAdapter_FunctionPointer object that will delegate to the function referred to by the specified functionPtr.
|
inline |
Convert this object to the parameterized FUNCTION_POINTER by returning the function pointer supplied on construction.
|
inline |
Convert this object to the parameterized FUNCTION_POINTER by returning the function pointer supplied on construction.