Espaços nominais
Variantes
Acções

std::regex_traits::translate

Da cppreference.com
< cpp‎ | regex‎ | regex traits

 
 
Biblioteca de expressões regulares
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.
(C++11)
Algoritmos
Original:
Algorithms
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Iteradores
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Exceções
Original:
Exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Características
Original:
Traits
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Constantes
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
 
 
CharT translate(CharT c) const;
Obtém a chave de comparação para o c caráter, de tal forma que todos os personagens que são equivalentes a este personagem na localidade imbuído produzir a mesma chave.
Original:
Obtains the comparison key for the character c, such that all characters that are equivalent to this character in the imbued locale produce the same key.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Quando a biblioteca regex precisa combinar dois personagens c1 e c2 eo std::regex_constants::collate bandeira é true, ele executa regex_traits<>::translate(c1) == regex_traits<>::translate(c2).
Original:
When the regex library needs to match two characters c1 and c2 and the flag std::regex_constants::collate is true, it executes regex_traits<>::translate(c1) == regex_traits<>::translate(c2).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
especializações biblioteca padrão de retorno std::regex_traits c sem modificações.
Original:
Standard library specializations of std::regex_traits return c unmodified.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Parâmetros

c -
personagem. que precisa ser examinado para equivalência
Original:
character that needs to be examined for equivalence
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

chave A comparação para c na localidade atualmente imbuído.
Original:
The comparison key for c in the currently imbued locale.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Exemplo