[#absl-make_any-08]
= xref:absl.adoc[absl]::make&lowbar;any
:relfileprefix: ../
:mrdocs:

Constructs an `any` object holding a `T` from an initializer list (deprecated)&period;

== Synopsis

Declared in `&lt;absl&sol;types&sol;any&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename T,
    typename U,
    typename&period;&period;&period; Args&gt;
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
constexpr
decltype(std&colon;&colon;make&lowbar;any&lt;T&gt;(
    std&colon;&colon;declval&lt;std&colon;&colon;initializer&lowbar;list&lt;U&gt;&gt;(), std&colon;&colon;declval&lt;Args&gt;()&period;&period;&period;))
make&lowbar;any(
    std::initializer&lowbar;list&lt;U&gt; il,
    Args&&&period;&period;&period; args);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

An `any` holding the constructed value&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *il*
| Initializer list forwarded to `std&colon;&colon;make&lowbar;any`&period;
| *args*
| Additional arguments forwarded to `std&colon;&colon;make&lowbar;any`&period;
|===


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