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

Constructors

== Synopses

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

Create a wrapper as a copy of the specified `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlf/MemFnInstance/2constructor-09.adoc[MemFnInstance](
    xref:BloombergLP/bdlf/MemFnInstance.adoc[MemFnInstance] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlf/MemFnInstance/2constructor-09.adoc[_» more&period;&period;&period;_]#

Create a wrapper around the specified member function and object&period;


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

[.small]#xref:BloombergLP/bdlf/MemFnInstance/2constructor-0e.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| wrapper to copy
| *basicAllocator*
| memory allocator&semi; null uses the default
| *func*
| member function pointer to wrap
| *object*
| instance on which the member function is invocable
|===


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