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

Invoke the held member function with one argument.

Synopsis

Declared in <bdlf_memfn.h>

template<class INSTANCE>
ResultType
operator()(
    INSTANCE& object,
    ARG1 arg1) const;

Description

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1, 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