[#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 `<bdlf_memfn.h>` Create a member function pointer wrapper around the same member function and instance pointed to by the specified `original` object. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [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..._]# 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`. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#