[#prevector-0c-operator_subs-0c]
= xref:prevector-0c.adoc[prevector]::operator&lsqb;&rsqb;
:relfileprefix: ../
:mrdocs:

Returns a reference to the element at position `pos`&period;

== Synopsis

Declared in `&lt;prevector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
T&
operator&lsqb;&rsqb;(xref:prevector-0c/size_type.adoc[size&lowbar;type] pos);
----

== Return Value

A reference to the element at that position&period;

== Parameters

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


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