[#VecDeque-back-09]
= xref:VecDeque.adoc[VecDeque]::back
:relfileprefix: ../
:mrdocs:

`back` overloads

== Synopses

Declared in `&lt;util&sol;vecdeque&period;h&gt;`

Get a mutable reference to the last element of the deque&period; Requires !empty()&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
T&
xref:VecDeque/back-06.adoc[back]() noexcept;
----

[.small]#xref:VecDeque/back-06.adoc[_» more&period;&period;&period;_]#

Get a const reference to the last element of the deque&period; Requires !empty()&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
T const&
xref:VecDeque/back-02.adoc[back]() const noexcept;
----

[.small]#xref:VecDeque/back-02.adoc[_» more&period;&period;&period;_]#

== Return Value

* A mutable reference to the last element&period;
* A const reference to the last element&period;


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