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