[#absl-AnyInvocable-2constructor-0f]
= xref:absl.adoc[absl]::xref:absl/AnyInvocable.adoc[AnyInvocable]::AnyInvocable
:relfileprefix: ../../
:mrdocs:

Overload of the above constructor to support list&hyphen;initialization&period;

== Synopsis

Declared in `&lt;absl&sol;functional&sol;any&lowbar;invocable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class T,
    class U,
    class&period;&period;&period; Args&gt;
requires internal&lowbar;any&lowbar;invocable&colon;&colon;CanEmplace&lt;
                Sig, T, std&colon;&colon;initializer&lowbar;list&lt;U&gt;&amp;, Args&period;&period;&period;&gt;&colon;&colon;value
explicit
AnyInvocable(
    std::in&lowbar;place&lowbar;type&lowbar;t&lt;T&gt; tag,
    std::initializer&lowbar;list&lt;U&gt; ilist,
    Args&&&period;&period;&period; args);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ilist*
| Initializer list forwarded to the constructor of `T`&period;
| *args*
| Additional arguments forwarded to the constructor of `T`&period;
| *tag*
| A tag that selects this overload&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
