[#bsl-queue-0a5-front-06]
= xref:bsl.adoc[bsl]::xref:bsl/queue-0a5.adoc[queue]::front
:relfileprefix: ../../
:mrdocs:

`front` overloads

== Synopses

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

Return a reference providing modifiable access to the front (the earliest pushed) element from this `queue` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/queue-0a5/reference.adoc[queue&lt;VALUE, CONTAINER&gt;::reference]
xref:bsl/queue-0a5/front-0a0.adoc[front]();
----

[.small]#xref:bsl/queue-0a5/front-0a0.adoc[_» more&period;&period;&period;_]#

Return the immutable front (the earliest pushed) element from this `queue` object&period; In effect, performs `c&period;front()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/queue-0a5/const_reference.adoc[queue&lt;VALUE, CONTAINER&gt;::const&lowbar;reference]
xref:bsl/queue-0a5/front-0ae.adoc[front]() const;
----

[.small]#xref:bsl/queue-0a5/front-0ae.adoc[_» more&period;&period;&period;_]#


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