Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bslstl::Function_InvokerUtil_Dispatch< Function_InvokerUtil::e_MemFunctionPtr, RET(ARG0, ARGS...), FUNC > Struct Template Reference

#include <bslstl_function_invokerutil.h>

List of all members.

Static Public Member Functions

static RET invoke (const Function_Rep *rep, typename bslmf::ForwardingType< ARG0 >::Type obj, typename bslmf::ForwardingType< ARGS >::Type...args)

Detailed Description

template<class FUNC, class RET, class ARG0, class... ARGS>
struct bslstl::Function_InvokerUtil_Dispatch< Function_InvokerUtil::e_MemFunctionPtr, RET(ARG0, ARGS...), FUNC >

Specialization of dispatcher for pointer to member function objects.

See Component bslstl_function_invokerutil


Member Function Documentation

template<class FUNC , class RET , class ARG0 , class... ARGS>
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...).


The documentation for this struct was generated from the following file: