[#BloombergLP-bslstl-Function_InvokerUtil_Dispatch-0f-invoke] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Function_InvokerUtil_Dispatch-0f.adoc[Function_InvokerUtil_Dispatch<Function_InvokerUtil::e_MemFunctionPtr, RET(ARG0, ARGS...), FUNC>]::invoke :relfileprefix: ../../../ :mrdocs: 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...)`. == Synopsis Declared in `<bslstl_function_invokerutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static RET invoke( xref:BloombergLP/bslstl/Function_Rep.adoc[Function_Rep] const* rep, bslmf::ForwardingType<ARG0>::Type obj, bslmf::ForwardingType<ARGS>::Type... args); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#