[#bsl-vectorBase-0f7-back-04] = xref:bsl.adoc[bsl]::xref:bsl/vectorBase-0f7.adoc[vectorBase<long long>]::back :relfileprefix: ../../ :mrdocs: Return a reference providing non‐modifiable access to the last 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-0f7/const_reference.adoc[const_reference] back() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#