[#BloombergLP-bdlf-Overloaded_MemberFunctionPointer]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlf.adoc[bdlf]::Overloaded&lowbar;MemberFunctionPointer
:relfileprefix: ../../
:mrdocs:

The class Overloaded&lowbar;MemberFunctionPointer wraps a member function pointer&period; It is implicitly constructible from the pointer, and provides an `operator()` that takes an object of the appropriate type and other arguments, and forwards them on to the underlying function&period;

== Synopsis

Declared in `&lt;bdlf&lowbar;overloaded&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class OBJ,
    class RET,
    class&period;&period;&period; ARGS&gt;
struct Overloaded&lowbar;MemberFunctionPointer;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlf/Overloaded_MemberFunctionPointer/FpType.adoc[`FpType`] 
| Alias for a member function pointer of the given signature&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlf/Overloaded_MemberFunctionPointer/2constructor.adoc[`Overloaded&lowbar;MemberFunctionPointer`]         [.small]#[constructor]#
| Construct this object from the specified `f`&period;
| xref:BloombergLP/bdlf/Overloaded_MemberFunctionPointer/operator_call.adoc[`operator()`] 
| Call the member function passed to the constructor using the specified `obj` with the specified `args`, and return the result of the call&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlf/Overloaded_MemberFunctionPointer/d_fp.adoc[`d&lowbar;fp`] 
| Member function pointer of the given signature&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
