cpp/string/basic string/size : Différence entre versions
De cppreference.com
< cpp | string | basic string
P12 (discuter | contributions) m (1 version : Translate from the English version) |
m (r2.7.3) (robot Ajoute : de:cpp/string/basic string/size, en:cpp/string/basic string/size, it:cpp/string/basic string/size) |
||
Ligne 28 : | Ligne 28 : | ||
{{dcl list end}} | {{dcl list end}} | ||
+ | |||
+ | |||
[[es:cpp/string/basic string/size]] | [[es:cpp/string/basic string/size]] | ||
+ | |||
[[ja:cpp/string/basic string/size]] | [[ja:cpp/string/basic string/size]] | ||
[[pt:cpp/string/basic string/size]] | [[pt:cpp/string/basic string/size]] | ||
[[ru:cpp/string/basic string/size]] | [[ru:cpp/string/basic string/size]] | ||
[[zh:cpp/string/basic string/size]] | [[zh:cpp/string/basic string/size]] |
Version du 2 novembre 2012 à 10:59
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
size_type size() const; |
||
size_type length() const; |
||
Retourne le nombre de caractères de la chaîne, c'est à dire std::distance(begin(), end()) .
Original:
Returns the number of characters in the string, i.e. std::distance(begin(), end()).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Sommaire |
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.
You can help to correct and verify the translation. Click here for instructions.
Retourne la valeur
Le nombre de caractères dans la chaîne .
Original:
The number of characters in the string.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
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.
You can help to correct and verify the translation. Click here for instructions.