[#bsl-vectorBase-06-at-0cb]
= xref:bsl.adoc[bsl]::xref:bsl/vectorBase-06.adoc[vectorBase]::at
:relfileprefix: ../../
:mrdocs:

`at` overloads

== Synopses

Declared in `&lt;bslstl&lowbar;vector&period;h&gt;`

Return a modifiable reference to the element at `position`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vectorBase-06/reference.adoc[vectorBase&lt;VALUE&lowbar;TYPE&gt;::reference]
xref:bsl/vectorBase-06/at-0f.adoc[at](xref:bsl/vectorBase-06/size_type.adoc[size&lowbar;type] position);
----

[.small]#xref:bsl/vectorBase-06/at-0f.adoc[_» more&period;&period;&period;_]#

Return a non&hyphen;modifiable reference to the element at `position`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vectorBase-06/const_reference.adoc[vectorBase&lt;VALUE&lowbar;TYPE&gt;::const&lowbar;reference]
xref:bsl/vectorBase-06/at-0c2.adoc[at](xref:bsl/vectorBase-06/size_type.adoc[size&lowbar;type] position) const;
----

[.small]#xref:bsl/vectorBase-06/at-0c2.adoc[_» more&period;&period;&period;_]#

== Return Value

* modifiable reference to the element at `position`
* non&hyphen;modifiable reference to the element at `position`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *position*
| zero&hyphen;based index of the element
|===


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