[#bsl-vectorBase-08-front-0d] = xref:bsl.adoc[bsl]::xref:bsl/vectorBase-08.adoc[vectorBase<unsigned int>]::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-08/const_reference.adoc[const_reference] front() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#