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

Constructs a mutable span from a container&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename V,
    typename = xref:absl/Span.adoc[EnableIfConvertibleFrom&lt;V&gt;],
    typename = V,
    typename = span&lowbar;internal::EnableIfNotIsView&lt;V&gt;&gt;
explicit
Span(V& v) noexcept;
----

== Description

Can be replaced with `MakeSpan()` to infer the type parameter&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *v*
| The container whose data the span refers to&period;
|===


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