Constructors
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...
| Name | Description |
|---|---|
| original | wrapper to copy |
| basicAllocator | memory allocator; null uses the default |
| func | member function pointer to wrap |
| object | instance on which the member function is invocable |