Invoke the held member function with four arguments.

Synopsis

Declared in <bdlf_memfn.h>

template<class INSTANCE>
ResultType
operator()(
    INSTANCE const& object,
    ARG1 arg1,
    ARG2 arg2,
    ARG3 arg3,
    ARG4 arg4) 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 arg4, 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

Name

Description

object

instance on which to invoke the member function

arg1

first argument

arg2

second argument

arg3

third argument

arg4

fourth argument

Created with MrDocs