[#bsl-vector-086-at-0f]
= xref:bsl.adoc[bsl]::xref:bsl/vector-086.adoc[vector&lt;VALUE&lowbar;TYPE*, ALLOCATOR&gt;]::at
:relfileprefix: ../../
:mrdocs:

Return a reference to the element at the specified position&period;

== Synopses

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

Return a reference to the element at the specified position&period;


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

[.small]#xref:bsl/vector-086/at-06.adoc[_» more&period;&period;&period;_]#

Return a reference to the element at the specified position&period;


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

[.small]#xref:bsl/vector-086/at-0c.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*
| element position or insertion point
|===


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