[#bsl-vector-09a-back]
= xref:bsl.adoc[bsl]::xref:bsl/vector-09a.adoc[vector&lt;int&gt;]::back
:relfileprefix: ../../
:mrdocs:

`back` overloads

== Synopses

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vectorBase-03d/reference.adoc[reference]
xref:bsl/vectorBase-03d/back-05.adoc[back]();
----

[.small]#xref:bsl/vectorBase-03d/back-05.adoc[_» more&period;&period;&period;_]#

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;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vectorBase-03d/const_reference.adoc[const&lowbar;reference]
xref:bsl/vectorBase-03d/back-01.adoc[back]() const;
----

[.small]#xref:bsl/vectorBase-03d/back-01.adoc[_» more&period;&period;&period;_]#


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