[#bsl-vectorBase-06-operator_subs-0b] = xref:bsl.adoc[bsl]::xref:bsl/vectorBase-06.adoc[vectorBase]::operator[] :relfileprefix: ../../ :mrdocs: Return a reference providing modifiable access to the element at the specified `position` in this vector. The behavior is undefined unless `position < size()`. == Synopsis Declared in `<bslstl_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/vectorBase-06/reference.adoc[vectorBase<VALUE_TYPE>::reference] operator[](xref:bsl/vectorBase-06/size_type.adoc[size_type] position); ---- == Return Value 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]#