[#bsl-slist-front-0d]
= xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::front
:relfileprefix: ../../
:mrdocs:

`front` overloads

== Synopses

Declared in `&lt;bslstp&lowbar;slist&period;h&gt;`

Return a reference to the first element&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/slist/reference.adoc[reference]
xref:bsl/slist/front-0e.adoc[front]();
----

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

Return a const reference to the first element&period;


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

[.small]#xref:bsl/slist/front-03.adoc[_» more&period;&period;&period;_]#

== Return Value

* reference to the first element
* const reference to the first element


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