◐ Shell
clean mode source ↗

std::basic_string::rend, std::basic_string::crend - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

iterator rend();

const_iterator rend() const;

const_iterator crend() const;

(desde C++11)

Retorna um iterador reverso para o personagem após o último caractere da string invertida. Corresponde ao caractere que precede o primeiro caractere do string não-invertida. Este personagem funciona como um espaço reservado, tentando acessá-lo resulta em um comportamento indefinido.

Original:

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.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parâmetros

(Nenhum)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

reverter iterador para o caractere após o último caractere

Original:

reverse iterator to the character following the last character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Complexidade

Constante

Original:

Constant

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Veja também

retorna um iterador inverso ao início

Original:

returns a reverse iterator to the beginning

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(função pública membro) [edit]