[#bsl-basic_string-01d-front-0e] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-01d.adoc[basic_string<char8_t>]::front :relfileprefix: ../../ :mrdocs: `front` overloads == Synopses Declared in `<bslstl_string.h>` Return a reference providing modifiable access to the character at the first position in this string. The behavior is undefined if this string is empty. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- char8_t& xref:bsl/basic_string-01d/front-07.adoc[front](); ---- [.small]#xref:bsl/basic_string-01d/front-07.adoc[_» more..._]# Return a reference providing non‐modifiable access to the character at the first position in this string. The behavior is undefined if this string is empty. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- char8_t const& xref:bsl/basic_string-01d/front-0c.adoc[front]() const; ---- [.small]#xref:bsl/basic_string-01d/front-0c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#