Quick Links: |
#include <bslstl_function_invokerutil.h>
Static Public Member Functions | |
static RET | invoke (const Function_Rep *rep, typename bslmf::ForwardingType< ARG0 >::Type obj, typename bslmf::ForwardingType< ARGS >::Type...args) |
Specialization of dispatcher for pointer to member function objects.
See Component bslstl_function_invokerutil
static RET bslstl::Function_InvokerUtil_Dispatch< Function_InvokerUtil::e_MemFunctionPtr, RET(ARG0, ARGS...), FUNC >::invoke | ( | const Function_Rep * | rep, | |
typename bslmf::ForwardingType< ARG0 >::Type | obj, | |||
typename bslmf::ForwardingType< ARGS >::Type... | args | |||
) | [static] |
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...)
.