[#bsl-vectorBase-06a-back-0f]
= xref:bsl.adoc[bsl]::xref:bsl/vectorBase-06a.adoc[vectorBase]::back
:relfileprefix: ../../
:mrdocs:

Return a reference providing non&hyphen;modifiable access to the last element in this vector&period; The behavior is undefined unless this vector is not empty&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vectorBase-06a/const_reference.adoc[vectorBase&lt;VALUE&lowbar;TYPE&gt;::const&lowbar;reference]
back() const;
----


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