Espaços nominais
Variantes
Acções

std::regex_traits::translate_nocase

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.
basic_regex(C++11)
sub_match(C++11)
match_results(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.
regex_match(C++11)
regex_search(C++11)
regex_replace(C++11)
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.
regex_iterator(C++11)
regex_token_iterator(C++11)
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.
regex_error(C++11)
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.
regex_traits(C++11)
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.
syntax_option_type(C++11)
match_flag_type(C++11)
error_type(C++11)
 
std::regex_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.
regex_traits::regex_traits
regex_traits::length
regex_traits::translate
regex_traits::translate_nocase
regex_traits::transform
regex_traits::transform_primary
regex_traits::lookup_collatename
regex_traits::lookup_classname
regex_traits::isctype
regex_traits::value
regex_traits::imbue
regex_traits::getloc
 
CharT translate_nocase(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, ignorando as diferenças de caso, se for o caso, produzem 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, ignoring the case differences, if any, 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::icase bandeira é true, ele executa regex_traits<>::translate_nocase(c1) == regex_traits<>::translate_nocase(c2).
Original:
When the regex library needs to match two characters c1 and c2 and the flag std::regex_constants::icase is true, it executes regex_traits<>::translate_nocase(c1) == regex_traits<>::translate_nocase(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 std::regex_traits retorno std::use_facet<std::ctype<CharT>>(getloc()).tolower(c), isto é, converter c para minúsculas, usando a localidade atualmente imbuído.
Original:
Standard library specializations of std::regex_traits return std::use_facet<std::ctype<CharT>>(getloc()).tolower(c), that is, convert c to lowercase, using 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] Parâmetros

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

A chave comparação de maiúsculas e minúsculas para c na localidade atualmente imbuído.
Original:
The case-insensitive 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