std::basic_string::size, std::basic_string::length - cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
||
|
|
||
Retorna o número de caracteres na seqüência, ou seja, 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.
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
O número de caracteres na cadeia.
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.
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
verifica se a string está vazia Original: checks whether the string is empty The text has been machine-translated via Google Translate. (função pública membro) [edit] | |
devolve o número máximo de caracteres Original: returns the maximum number of characters The text has been machine-translated via Google Translate. (função pública membro) [edit] | |