memFn overloads

Synopses

Declared in <bdlf_memfn.h>

Return a MemFn member function wrapper that encapsulates the specified func member function pointer of the parameterized PROTOTYPE.

template<class PROTOTYPE>
static
MemFn<PROTOTYPE>
memFn(PROTOTYPE func);

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.

template<
    class PROTOTYPE,
    class INSTANCE>
static
MemFnInstance<PROTOTYPE, INSTANCE>
memFn(
    PROTOTYPE func,
    INSTANCE const& object);

Created with MrDocs