[#absl-AnySpan-size]
= xref:absl.adoc[absl]::xref:absl/AnySpan.adoc[AnySpan]::size
:relfileprefix: ../../
:mrdocs:

Returns the number of elements in this span&period;

== Synopsis

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

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

== Return Value

The size of the span&period;


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