◐ Shell
clean mode source ↗

std::basic_string::end, std::basic_string::cend - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

iterator end();

const_iterator end() const;

const_iterator cend() const;

(desde C++11)

Retorna um iterador para o personagem após o último caractere da string. Este personagem funciona como um espaço reservado, tentando acessá-lo resulta em um comportamento indefinido.

Original:

Returns an iterator to the character following the last character of the 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

iterador para o caractere após o último caractere

Original:

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 para o começo

Original:

returns an 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]