std::char_traits
De cppreference.com
|
|
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. |
<metanoindex/>
<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.
You can help to correct and verify the translation. Click here for instructions.
Há
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.
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.
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
|