[#BloombergLP-bslstl-Function_Variadic-08-operator_call] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Function_Variadic-08.adoc[Function_Variadic<RET(ARGS...)>]::operator() :relfileprefix: ../../../ :mrdocs: Invoke the target with `args...`, or throw if this object is empty. == Synopsis Declared in `<bslstl_function.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- RET operator()(ARGS... args) const; ---- == Description If this object is empty, throw `bsl::bad_function_call`; otherwise invoke the target object with the specified `args...` and return the result (after conversion to `RET`). Note that, even though it is declared `const`, this call operator can mutate the target object and is thus considered a manipulator rather than an accessor. == Return Value result of invoking the target, converted to `RET` == Parameters [cols="1,4"] |=== | Name| Description | *args* | arguments forwarded to the target callable |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#