[#absl-AnySpan-operator_subs] = xref:absl.adoc[absl]::xref:absl/AnySpan.adoc[AnySpan]::operator[] :relfileprefix: ../../ :mrdocs: Returns a reference to the element at `index`. == Synopsis Declared in `<absl/types/any_span.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:absl/AnySpan/reference.adoc[reference] operator[](xref:absl/AnySpan/size_type.adoc[size_type] index) const; ---- == Return Value A reference to the element at `index`. == Parameters [cols="1,4"] |=== | Name| Description | *index* | Index of the element to access. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#