[#bsl-basic_string-0f3-front-0f] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0f3.adoc[basic_string<char32_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"] ---- char32_t& xref:bsl/basic_string-0f3/front-01.adoc[front](); ---- [.small]#xref:bsl/basic_string-0f3/front-01.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"] ---- char32_t const& xref:bsl/basic_string-0f3/front-0d.adoc[front]() const; ---- [.small]#xref:bsl/basic_string-0f3/front-0d.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#