bsl::basic_string::back

back overloads

Synopses

Declared in <bslstl_string.h>

Return a reference providing 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.

CHAR_TYPE&
back();
» more...

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.

CHAR_TYPE const&
back() const;
» more...