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

Constructs a span wrapping an initializer list&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
AnySpan(std::initializer&lowbar;list&lt;value&lowbar;type&gt; l);
----

== Description

The initializer list must outlive this span&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *l*
| The initializer list whose elements the span refers to&period;
|===


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