[#prevector-01-operator_subs-04] = xref:prevector-01.adoc[prevector<36, unsigned char>]::operator[] :relfileprefix: ../ :mrdocs: Subscript operators == Synopses Declared in `<prevector.h>` Returns a reference to the element at position `pos`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- unsigned char& xref:prevector-01/operator_subs-05.adoc[operator[]](xref:prevector-01/size_type.adoc[size_type] pos); ---- [.small]#xref:prevector-01/operator_subs-05.adoc[_» more..._]# Returns a const reference to the element at position `pos`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- unsigned char const& xref:prevector-01/operator_subs-08.adoc[operator[]](xref:prevector-01/size_type.adoc[size_type] pos) const; ---- [.small]#xref:prevector-01/operator_subs-08.adoc[_» more..._]# == Return Value * A reference to the element at that position. * 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]#