[#BloombergLP-bdlf-MemFnInstance-2constructor-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlf.adoc[bdlf]::xref:BloombergLP/bdlf/MemFnInstance.adoc[MemFnInstance]::MemFnInstance
:relfileprefix: ../../../
:mrdocs:

Create a member function pointer wrapper around the specified `func` member function pointer of the parameterized `PROTOTYPE`, that is invocable on the specified `object` instance of the parameterized `INSTANCE`&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
MemFnInstance(
    PROTOTYPE func,
    INSTANCE const& object,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


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