[#absl-Span-2constructor-08] = xref:absl.adoc[absl]::xref:absl/Span.adoc[Span]::Span :relfileprefix: ../../ :mrdocs: Constructs a read‐only span from an initializer list. == Synopsis Declared in `<absl/types/span.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename LazyT = T, typename = LazyT> Span(std::initializer_list<value_type> v) noexcept; ---- == Description The referenced array must outlive the span; see the notes above. == Parameters [cols="1,4"] |=== | Name| Description | *v* | The initializer list whose data the span refers to. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#