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
Name |
Description |
rep |
representation holding the pointer‐to‐data‐member |
obj |
object, pointer, or smart pointer whose member is accessed |
Created with MrDocs