[#VecDeque-front-07]
= xref:VecDeque.adoc[VecDeque]::front
:relfileprefix: ../
:mrdocs:

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
T const&
front() const noexcept;
----

== Return Value

A const reference to the first element&period;


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