[#BloombergLP-bslstl-Function_Variadic-08-operator_call]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Function_Variadic-08.adoc[Function&lowbar;Variadic&lt;RET(ARGS&period;&period;&period;)&gt;]::operator()
:relfileprefix: ../../../
:mrdocs:

Invoke the target with `args&period;&period;&period;`, or throw if this object is empty&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;function&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
RET
operator()(ARGS&period;&period;&period; args) const;
----

== Description

If this object is empty, throw `bsl&colon;&colon;bad&lowbar;function&lowbar;call`&semi; otherwise invoke the target object with the specified `args&period;&period;&period;` and return the result (after conversion to `RET`)&period; 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&period;

== 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]#
