[#bsl-basic_string-0f3-at-0f] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0f3.adoc[basic_string<char32_t>]::at :relfileprefix: ../../ :mrdocs: `at` overloads == Synopses Declared in `<bslstl_string.h>` Return a reference providing modifiable access to the character at the specified `position` in this string. Throw `out_of_range` if `position >= length()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0f3/reference.adoc[reference] xref:bsl/basic_string-0f3/at-00.adoc[at](xref:bsl/basic_string-0f3/size_type.adoc[size_type] position); ---- [.small]#xref:bsl/basic_string-0f3/at-00.adoc[_» more..._]# Return a reference providing non‐modifiable access to the character at the specified `position` in this string. Throw `out_of_range` if `position >= length()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0f3/const_reference.adoc[const_reference] xref:bsl/basic_string-0f3/at-0e.adoc[at](xref:bsl/basic_string-0f3/size_type.adoc[size_type] position) const; ---- [.small]#xref:bsl/basic_string-0f3/at-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#