Difference between revisions of "cpp/string/basic string/rend"
From cppreference.com
< cpp | string | basic string
m (Text replace - "{{complex}}" to "===Complexity===") |
m (Text replace - "{{params}}" to "===Parameters===") |
||
Line 15: | Line 15: | ||
Returns a reverse iterator to the character following the last character of the reversed string. It corresponds to the character preceding the first character of the non-reversed string. This character acts as a placeholder, attempting to access it results in undefined behavior. | Returns a reverse iterator to the character following the last character of the reversed string. It corresponds to the character preceding the first character of the non-reversed string. This character acts as a placeholder, attempting to access it results in undefined behavior. | ||
− | + | ===Parameters=== | |
{{param none}} | {{param none}} | ||
Revision as of 17:39, 2 August 2011
Template:cpp/string/basic string/sidebar Template:ddcl list begin <tr class="t-dcl ">
<td class="t-dcl-nopad">iterator rend();
</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 rend() const;
</td>
<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">
<td >const_iterator crend() const;
</td>
<td class="t-dcl-nopad"> </td> <td > Template:mark c++11 feature </td> </tr> Template:ddcl list end
Returns a reverse iterator to the character following the last character of the reversed string. It corresponds to the character preceding the first character of the non-reversed string. This character acts as a placeholder, attempting to access it results in undefined behavior.
Parameters
reverse iterator to the character following the last character