[#absl-FixedArray-operator_subs-01]
= xref:absl.adoc[absl]::xref:absl/FixedArray.adoc[FixedArray]::operator&lsqb;&rsqb;
:relfileprefix: ../../
:mrdocs:

Subscript operators

== Synopses

Declared in `&lt;absl&sol;container&sol;fixed&lowbar;array&period;h&gt;`

Returns a reference to the ith element of the fixed array&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/FixedArray/reference.adoc[reference]
xref:absl/FixedArray/operator_subs-0d.adoc[operator&lsqb;&rsqb;](xref:absl/FixedArray/size_type.adoc[size&lowbar;type] i);
----

[.small]#xref:absl/FixedArray/operator_subs-0d.adoc[_» more&period;&period;&period;_]#

Returns a const reference to the ith element of the fixed array&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/FixedArray/const_reference.adoc[const&lowbar;reference]
xref:absl/FixedArray/operator_subs-00.adoc[operator&lsqb;&rsqb;](xref:absl/FixedArray/size_type.adoc[size&lowbar;type] i) const;
----

[.small]#xref:absl/FixedArray/operator_subs-00.adoc[_» more&period;&period;&period;_]#

== Return Value

* A reference to the ith element&period;
* A const reference to the ith element&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *i*
| The index of the element to access&period;
|===


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