std::basic_string<CharT,Traits,Allocator>::back
From cppreference.com
Template:cpp/string/basic string/sidebar Template:ddcl list begin <tr class="t-dcl ">
<td >CharT& back();
</td>
<td class="t-dcl-nopad"> </td> <td > Template:mark c++0x </td> </tr> <tr class="t-dcl ">
<td >const CharT& back() const;
</td>
<td class="t-dcl-nopad"> </td> <td > Template:mark c++0x </td> </tr> Template:ddcl list end
Returns reference to the last character in the string.
Parameters
reference to the last character.