Return a reference to the last character of this string.
Synopsis
Declared in <bslstl_string.h>
CHAR_TYPE const&
back() const;
Description
Return a reference providing non‐modifiable access to the character at the last position in this string. The behavior is undefined if this string is empty. Note that the last position is length() ‐ 1.
Return Value
reference to the last character of this string
Created with MrDocs