◐ 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;

(depuis C++11)

Retourne un itérateur sur le caractère suivant le dernier caractère de la chaîne. Ce caractère fait office d'espace réservé, tente d'y accéder en résulte un comportement indéfini .

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.

Paramètres

(Aucun)

Original:

(none)

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

Retourne la valeur

itérateur sur le caractère suivant le dernier caractère

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.

Complexité

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.

Voir aussi

retourne un itérateur au début

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.


(fonction membre publique) [edit]