[#bsl-vectorBase-09-front-0d]
= xref:bsl.adoc[bsl]::xref:bsl/vectorBase-09.adoc[vectorBase&lt;bool&gt;]::front
:relfileprefix: ../../
:mrdocs:

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;

== Synopsis

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

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


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