Return a MemFnInstance wrapper for the specified func and object.
Declared in <bdlf_memfn.h>
template<
class PROTOTYPE,
class INSTANCE>
static
MemFnInstance<PROTOTYPE, INSTANCE>
memFn(
PROTOTYPE func,
INSTANCE const& object);
Return a MemFnInstance member function wrapper that encapsulates the specified func member function pointer of the parameterized PROTOTYPE and the specified object instance of the parameterized INSTANCE type.
MemFnInstance wrapper encapsulating func and object
| Name | Description |
|---|---|
| func | member function pointer to wrap |
| object | instance on which the member function is invocable |