Namespaces
Variants
Views
Actions

std::basic_string<CharT,Traits,Allocator>::front

From cppreference.com
< cpp‎ | string‎ | basic string
Revision as of 15:19, 26 April 2011 by WikiSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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