[#bsl-list-054-front-0e] = xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::front :relfileprefix: ../../ :mrdocs: Return a reference providing non‐modifiable access to the first element of this list. The behavior is undefined unless this list contains at least one element. == Synopsis Declared in `<bslstl_list.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/list-054/const_reference.adoc[list<VALUE, ALLOCATOR>::const_reference] front() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#