[#bsl-vector-027-front-0a] = xref:bsl.adoc[bsl]::xref:bsl/vector-027.adoc[vector<MetricSampleGroup>]::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-06a.adoc[const_reference] front() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#