Namespaces
Variants
Views
Actions

std::basic_string<CharT,Traits,Allocator>::rbegin, std::basic_string<CharT,Traits,Allocator>::crbegin

From cppreference.com
< cpp‎ | string‎ | basic string
Revision as of 16:50, 4 May 2012 by P12bot (Talk | contribs)

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

<td class="t-dcl-nopad">
iterator rbegin();
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
const_iterator rbegin() const;
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td >
const_iterator crbegin() const;
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end

Returns a reverse iterator to the first character of the reversed string. It corresponds to the last character of the non-reversed string.

Contents

Parameters

(none)

Return value

reverse iterator to the first character

Complexity

Constant

See also

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