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

Constructs a span from an element getter and size&period; Not for external use&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
AnySpan(
    any&lowbar;span&lowbar;internal::Getter&lt;T&gt; getter,
    xref:absl/AnySpan/size_type.adoc[size&lowbar;type] size);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *getter*
| The internal element accessor&period;
| *size*
| The number of elements&period;
|===


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