BloombergLP::bdlf::MemFnInstance::MemFnInstance

Constructors

Synopses

Declared in <bdlf_memfn.h>

Create a wrapper as a copy of the specified original.

MemFnInstance(
    MemFnInstance const& original,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a wrapper around the specified member function and object.

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

Parameters

NameDescription
originalwrapper to copy
basicAllocatormemory allocator; null uses the default
funcmember function pointer to wrap
objectinstance on which the member function is invocable