Quick Links: |
#include <bslstl_function_invokerutil.h>
Static Public Member Functions | |
static RET | invoke (const Function_Rep *rep, typename bslmf::ForwardingType< ARG0 >::Type obj) |
Specialization of dispatcher for pointer to data member objects.
See Component bslstl_function_invokerutil
static RET bslstl::Function_InvokerUtil_Dispatch< Function_InvokerUtil::e_MemDataPtr, RET(ARG0), MEMBER_TYPE CLASS_TYPE::* >::invoke | ( | const Function_Rep * | rep, | |
typename bslmf::ForwardingType< ARG0 >::Type | obj | |||
) | [static] |
Given pointer to data member, f
, as the target of the specified rep
, return the specified f
member of the specified obj
, i.e., obj.*f
. If obj
is a pointer or smart-pointer, dereference obj
first, i.e., return (*obj).*f
.