std::char_traits::length
Da cppreference.com
< cpp | string | char traits
Revisão das 07h00min de 26 de outubro de 2012 por TranslationBot (discussão | contribs)
![]() |
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. |
std::size_t length( const CharT* s ); |
||
Retorna o comprimento da sequência de caracteres apontada por
s
, isto é, a posição do caracter de terminação nula (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.
You can help to correct and verify the translation. Click here for instructions.
Índice |
Parâmetros
s | - | ponteiro para uma seqüência de caracteres para retornar comprimento
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. |
Valor de retorno
O comprimento da seqüência de caracteres apontada por
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.
You can help to correct and verify the translation. Click here for instructions.
Exceções
(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.
You can help to correct and verify the translation. Click here for instructions.
Complexidade
Linear.
Original:
Linear.
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.