Return a reference providing non‐modifiable access to the character at the specified position in this string. Throw out_of_range if position >= length().

Synopsis

Declared in <bslstl_string.h>

const_reference
at(size_type position) const;

Created with MrDocs