BloombergLP::bdlf::MemFnInstance::operator()

Invoke the held member function with two arguments.

Synopsis

Declared in <bdlf_memfn.h>

MemFnInstance<PROTOTYPE, INSTANCE>::ResultType
operator()(
    ARG1 arg1,
    ARG2 arg2) const;

Description

Invoke the member function pointer held by this wrapper on the provided object with the specified arg1 up to arg2 as arguments, 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
arg1first argument
arg2second argument