[#absl-MakeSpan-0f]
= xref:absl.adoc[absl]::MakeSpan
:relfileprefix: ../
:mrdocs:

Constructs a mutable `Span&lt;T&gt;` from a `&lsqb;begin, end)&rsqb;` pointer pair&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    int& ExplicitArgumentBarrier&period;&period;&period;,
    typename T&gt;
xref:absl/Span.adoc[Span&lt;T&gt;]
MakeSpan(
    T* begin,
    T* end) noexcept;
----

== Return Value

A span over the range `&lsqb;begin, end)&rsqb;`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *begin*
| Pointer to the first element&period;
| *end*
| Pointer just past the last element&period;
|===


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