[#bsl-basic_string-0ce-front-04b] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0ce.adoc[basic_string<char16_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"] ---- char16_t& xref:bsl/basic_string-0ce/front-00.adoc[front](); ---- [.small]#xref:bsl/basic_string-0ce/front-00.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"] ---- char16_t const& xref:bsl/basic_string-0ce/front-04e.adoc[front]() const; ---- [.small]#xref:bsl/basic_string-0ce/front-04e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#