Espaços nominais
Variantes
Acções

Diferenças entre edições de "cpp/string/char traits/length"

Da cppreference.com
< cpp‎ | string‎ | char traits
m (r2.7.3) (Robô: A adicionar: de, en, es, fr, it, ja, ru, zh)
m (Use {{lc}}. Update links. Various fixes.)
 
Linha 2: Linha 2:
 
{{cpp/string/char_traits/title|length}}
 
{{cpp/string/char_traits/title|length}}
 
{{cpp/string/char_traits/navbar}}
 
{{cpp/string/char_traits/navbar}}
{{ddcl list begin}}
+
{{begin}}
{{ddcl list item |  
+
{{|  
 
std::size_t length( const CharT* s );
 
std::size_t length( const CharT* s );
 
}}
 
}}
{{ddcl list end}}
+
{{end}}
  
 
{{tr|Retorna o comprimento da sequência de caracteres apontada por {{tt|s}}, isto é, a posição do caracter de terminação nula ({{c|Char()}}).|Returns the length of the character sequence pointed to by {{tt|s}}, that is, the position of the terminating null character ({{c|Char()}}).}}
 
{{tr|Retorna o comprimento da sequência de caracteres apontada por {{tt|s}}, isto é, a posição do caracter de terminação nula ({{c|Char()}}).|Returns the length of the character sequence pointed to by {{tt|s}}, that is, the position of the terminating null character ({{c|Char()}}).}}
  
 
===Parâmetros===
 
===Parâmetros===
{{param list begin}}
+
{{begin}}
{{param list item | s |{{tr| ponteiro para uma seqüência de caracteres para retornar comprimento| pointer to a character sequence to return length of}}}}
+
{{| s |{{tr| ponteiro para uma seqüência de caracteres para retornar comprimento| pointer to a character sequence to return length of}}}}
{{param list end}}
+
{{end}}
  
 
===Valor de retorno===
 
===Valor de retorno===

Edição actual desde as 10h26min de 2 de julho de 2013

 
 
Biblioteca cordas
Strings terminadas
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Cadeias de bytes
Multibyte cordas
Cordas de largura
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
std::char_traits
Funções de membro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
char_traits::assign
char_traits::cmp
char_traits::move
char_traits::copy
char_traits::compare
char_traits::length
char_traits::find
char_traits::to_char_type
char_traits::to_int_type
char_traits::eq_int_type
char_traits::eof
char_traits::not_eof
 
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.

Índice

[editar] 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.

[editar] 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.

[editar] 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.

[editar] 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.