BloombergLP::bslstl::Function_InvokerUtil_Dispatch<Function_InvokerUtil::e_MemDataPtr, RET(ARG0), MEMBER_TYPECLASS_TYPE::*>::invoke

Return the data member of obj designated by the target of rep.

Synopsis

Declared in <bslstl_function_invokerutil.h>

static
RET
invoke(
    Function_Rep const* rep,
    bslmf::ForwardingType<ARG0>::Type obj);

Description

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.

Return Value

the designated data member of obj, converted to RET

Parameters

NameDescription
reprepresentation holding the pointer-to-data-member
objobject, pointer, or smart pointer whose member is accessed