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