[#BloombergLP-bdlf-MemFn-operator_call-010] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlf.adoc[bdlf]::xref:BloombergLP/bdlf/MemFn.adoc[MemFn]::operator() :relfileprefix: ../../../ :mrdocs: Invoke the held member function with two arguments. == Synopsis Declared in `<bdlf_memfn.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class INSTANCE> xref:BloombergLP/bdlf/MemFn/ResultType.adoc[ResultType] operator()( INSTANCE& object, xref:BloombergLP/bdlf/MemFn.adoc[ARG1] arg1, xref:BloombergLP/bdlf/MemFn.adoc[ARG2] arg2) 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 arguments `arg1` up to `arg2`, 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 [cols="1,4"] |=== | Name| Description | *object* | instance on which to invoke the member function | *arg1* | first argument | *arg2* | second argument |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#