[#bsl-Deque_Base-back-06]
= xref:bsl.adoc[bsl]::xref:bsl/Deque_Base.adoc[Deque&lowbar;Base]::back
:relfileprefix: ../../
:mrdocs:

`back` overloads

== Synopses

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/Deque_Base/reference.adoc[Deque&lowbar;Base&lt;VALUE&lowbar;TYPE&gt;::reference]
xref:bsl/Deque_Base/back-0e.adoc[back]();
----

[.small]#xref:bsl/Deque_Base/back-0e.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:bsl/Deque_Base/back-0d.adoc[_» more&period;&period;&period;_]#

== Return Value

* modifiable reference to the last element
* non&hyphen;modifiable reference to the last element


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