BloombergLP::bdlf::MemFn::operator()

Invoke the held member function with twelve arguments.

Synopsis

Declared in <bdlf_memfn.h>

template<class INSTANCE>
ResultType
operator()(
    INSTANCE const& object,
    ARG1 arg1,
    ARG2 arg2,
    ARG3 arg3,
    ARG4 arg4,
    ARG5 arg5,
    ARG6 arg6,
    ARG7 arg7,
    ARG8 arg8,
    ARG9 arg9,
    ARG10 arg10,
    ARG11 arg11,
    ARG12 arg12) const;

Description

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg12, and return the result of this invocation, or void if this member function pointer does not return a result.

Return Value

result of the member-function invocation

Parameters

NameDescription
objectinstance on which to invoke the member function
arg1first argument
arg2second argument
arg3third argument
arg4fourth argument
arg5fifth argument
arg6sixth argument
arg7seventh argument
arg8eighth argument
arg9ninth argument
arg10tenth argument
arg11eleventh argument
arg12twelfth argument