[#bsl-vector-095-front]
= xref:bsl.adoc[bsl]::xref:bsl/vector-095.adoc[vector&lt;char&gt;]::front
:relfileprefix: ../../
:mrdocs:

`front` overloads

== Synopses

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

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


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

[.small]#xref:bsl/vectorBase-0aa3/front-092.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:bsl/vectorBase-0aa3/front-091.adoc[_» more&period;&period;&period;_]#


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