[#BloombergLP-bdlf-MemFnInstance-2constructor-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlf.adoc[bdlf]::xref:BloombergLP/bdlf/MemFnInstance.adoc[MemFnInstance]::MemFnInstance :relfileprefix: ../../../ :mrdocs: Create a wrapper as a copy of the specified `original`. == Synopsis Declared in `<bdlf_memfn.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- MemFnInstance( xref:BloombergLP/bdlf/MemFnInstance.adoc[MemFnInstance] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Description 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. == Parameters [cols="1,4"] |=== | Name| Description | *original* | wrapper to copy | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#