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