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

Converts a mutable span to a const span by copying its internal state&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename LazyT = T,
    typename = LazyT&gt;
constexpr
AnySpan(xref:absl/AnySpan.adoc[AnySpan&lt;std::remove&lowbar;const&lowbar;t&lt;T&gt;&gt;] const& other);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The mutable span to convert from&period;
|===


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