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

Constructs a span from a pointer and a length&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
Span(
    xref:absl/Span/pointer.adoc[pointer] array,
    xref:absl/Span/size_type.adoc[size&lowbar;type] length) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *array*
| Pointer to the first element&period;
| *length*
| Number of elements in the span&period;
|===


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