Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/string/basic string/back"

From cppreference.com
< cpp‎ | string‎ | basic string
m (Text replace - "{{params}}" to "===Parameters===")
m (Text replace - "{{returns}}" to "===Return value===")
Line 15: Line 15:
 
{{param none}}
 
{{param none}}
  
{{returns}}
+
===Return value===
  
 
reference to the last character.
 
reference to the last character.

Revision as of 17:49, 2 August 2011

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

Template:param none

Return value

reference to the last character.

Complexity

Template:complex constant

Template:see also

Template:cpp/string/basic string/dcl list front