[#bsl-vectorBase-06-front-06] = xref:bsl.adoc[bsl]::xref:bsl/vectorBase-06.adoc[vectorBase]::front :relfileprefix: ../../ :mrdocs: Return a reference providing non‐modifiable access to the first element in this vector. The behavior is undefined unless this vector is not empty. == Synopsis Declared in `<bslstl_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/vectorBase-06/const_reference.adoc[vectorBase<VALUE_TYPE>::const_reference] front() const; ---- == Return Value non‐modifiable reference to the first element [.small]#Created with https://www.mrdocs.com[MrDocs]#