[#prevector-0c-operator_subs-00] = xref:prevector-0c.adoc[prevector]::operator[] :relfileprefix: ../ :mrdocs: Returns a const reference to the element at position `pos`. == Synopsis Declared in `<prevector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- T const& operator[](xref:prevector-0c/size_type.adoc[size_type] pos) const; ---- == Return Value A const reference to the element at that position. == Parameters [cols="1,4"] |=== | Name| Description | *pos* | The index of the element to access. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#