BloombergLP::bdlf::MemFnInstance::MemFnInstance

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.

Synopsis

Declared in <bdlf_memfn.h>

MemFnInstance(
    PROTOTYPE func,
    INSTANCE const& object,
    bslma::Allocator* basicAllocator = 0);