Espaces de noms
Variantes

std::char_traits::length

De cppreference.com

<metanoindex/>

<tbody> </tbody>
std::size_t length( const CharT* s );
Renvoie la longueur de la séquence de caractères pointée par s, à savoir la position du caractère nul final (Char()) .
Original:
Returns the length of the character sequence pointed to by s, that is, the position of the terminating null character (Char()).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Paramètres

s -
pointeur sur une séquence de caractères de longueur pour revenir
Original:
pointer to a character sequence to return length of
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

La longueur de la séquence de caractères pointée par s .
Original:
The length of character sequence pointed to by s.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Exceptions

(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.

Complexité

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