[#BloombergLP-bslalg-FunctorAdapter_FunctionPointer] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::FunctorAdapter_FunctionPointer :relfileprefix: ../../ :mrdocs: 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`. == Synopsis Declared in `<bslalg_functoradapter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class FUNCTION_POINTER> class FunctorAdapter_FunctionPointer; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslalg/FunctorAdapter_FunctionPointer/2constructor.adoc[`FunctorAdapter_FunctionPointer`] [.small]#[constructor]# | Create a `FunctorAdapter_FunctionPointer` object that will delegate to the function referred to by the specified `functionPtr`. | xref:BloombergLP/bslalg/FunctorAdapter_FunctionPointer/2conversion-07.adoc[`operator FUNCTION_POINTER&`] | Convert this object to the parameterized `FUNCTION_POINTER` by returning the function pointer supplied on construction. | xref:BloombergLP/bslalg/FunctorAdapter_FunctionPointer/2conversion-00.adoc[`operator FUNCTION_POINTER const&`] | Convert this object to the parameterized `FUNCTION_POINTER` by returning the function pointer supplied on construction. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#