Specialization of dispatcher for pointer to member function objects.

Synopsis

Declared in <bslstl_function_invokerutil.h>

template<
    class FUNC,
    class RET,
    class ARG0,
    class... ARGS>
struct Function_InvokerUtil_Dispatch<Function_InvokerUtil::e_MemFunctionPtr, RET(ARG0, ARGS...), FUNC>;

Static Member Functions

Name

Description

invoke

Given pointer to member function, f, as the target of the specified rep, use the specified obj to invoke f with the specified args and return the result, i.e., (obj.*f)(args...). If obj is a pointer or smart‐pointer, dereference obj first, i.e., call ((*obj).*f)(args...).

Created with MrDocs