[#bsl-vector-086-operator_subs-06] = xref:bsl.adoc[bsl]::xref:bsl/vector-086.adoc[vector<VALUE_TYPE*, ALLOCATOR>]::operator[] :relfileprefix: ../../ :mrdocs: Return a reference to the element at the specified position. == Synopsis Declared in `<bslstl_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/vector-086/const_reference.adoc[vector<VALUE_TYPE*, ALLOCATOR>::const_reference] operator[](xref:bsl/vector-086/size_type.adoc[size_type] position) const; ---- == Return Value non‐modifiable reference to the element at `position` == Parameters [cols="1,4"] |=== | Name| Description | *position* | element position or insertion point |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#