Espaços nominais
Variantes
Ações

std::char_traits

De cppreference.com

<metanoindex/>

 
 
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.
 
 
<tbody> </tbody>
Definido no cabeçalho <string>
template< class CharT > class char_traits;
A classe char_traits define o fluxo e as propriedades de operação de cadeia de um tipo de caráter, tais como os tipos usados ​​para manipular os personagens e seqüências de caracteres, bem como todas as operações das comuns para o tipo de personagem dado.
Original:
The char_traits class defines the stream and string operation properties of a character type, such as the types used for manipulating the characters and character strings, as well as all the common operations for the given character type.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


char_traits classe modelo definido, que serve como uma base para instanciações explícitos. Ele preenche todos os requisitos do conceito Traits.
Original:
There is class template char_traits defined, which serves as a basis for explicit instantiations. It fulfills all requirements of Traits concept.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Além disso, várias especializações são definidas para a maioria dos tipos de personagens comuns que que tem de especificar os seguintes membros:
Original:
Also, several specializations are defined for most common character types which which has to specify the following members:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Instantiation char_type int_type off_type pos_type state_type
char_traits<char> char int streamoff streampos mbstate_t