BloombergLP::bdlf::MemFnInstance::MemFnInstance

Create a wrapper as a copy of the specified original.

Synopsis

Declared in <bdlf_memfn.h>

MemFnInstance(
    MemFnInstance const& original,
    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

NameDescription
originalwrapper to copy
basicAllocatormemory allocator; null uses the default