[#absl-Span-size] = xref:absl.adoc[absl]::xref:absl/Span.adoc[Span]::size :relfileprefix: ../../ :mrdocs: Returns the number of elements in this span. == Synopsis Declared in `<absl/types/span.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:absl/Span/size_type.adoc[size_type] size() const noexcept; ---- == Return Value The size of the span. [.small]#Created with https://www.mrdocs.com[MrDocs]#