[#BloombergLP-bdlf-Overloaded_FunctionPointer] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlf.adoc[bdlf]::Overloaded_FunctionPointer :relfileprefix: ../../ :mrdocs: 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. == Synopsis Declared in `<bdlf_overloaded.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class RET, class... ARGS> struct Overloaded_FunctionPointer; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlf/Overloaded_FunctionPointer/FpType.adoc[`FpType`] | Alias for a free function pointer of the given signature. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlf/Overloaded_FunctionPointer/2constructor.adoc[`Overloaded_FunctionPointer`] [.small]#[constructor]# | Construct this object from the specified `f`. | xref:BloombergLP/bdlf/Overloaded_FunctionPointer/operator_call.adoc[`operator()`] | Call the function passed to the constructor with the specified `args`. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlf/Overloaded_FunctionPointer/d_fp.adoc[`d_fp`] | Free function pointer of the given signature. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#