Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | string‎ | basic string
(Created page with "{{cpp/string/basic_string/title | front}} {{cpp/string/basic_string/sidebar}} {{ddcl list begin}} {{ddcl list item | notes={{mark c++0x}} | CharT& front(); }} {{ddcl list item | ...")
 
m (1 revision: import content)

Revision as of 14:55, 6 June 2011

Template:cpp/string/basic string/sidebar Template:ddcl list begin <tr class="t-dcl ">

<td >
CharT& front();
</td>

<td class="t-dcl-nopad"> </td> <td > Template:mark c++0x </td> </tr> <tr class="t-dcl ">

<td >
const CharT& front() const;
</td>

<td class="t-dcl-nopad"> </td> <td > Template:mark c++0x </td> </tr> Template:ddcl list end

Returns reference to the first character in the string.

Template:params Template:param none

Template:returns

reference to the first character.

Template:complex Template:complex constant

Template:see also

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