std::regex_traits::translate_nocase
Da cppreference.com.
< cpp | regex | regex traits
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
CharT translate_nocase(CharT c) const; |
||
Ottiene la chiave di confronto per la
c
personaggio, in modo che tutti i caratteri che sono equivalenti a questo personaggio nel locale intriso, ignorando le maiuscole, se del caso, produrre la stessa chiave.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.
You can help to correct and verify the translation. Click here for instructions.
Quando la libreria regex deve essere uguale a due personaggi
c1
e c2
e il std::regex_constants::icase bandiera è true, esegue 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.
You can help to correct and verify the translation. Click here for instructions.
Specializzazioni libreria standard di std::regex_traits std::use_facet<std::ctype<CharT>>(getloc()).tolower(c) ritorno, vale a dire, convertire
c
in minuscolo, utilizzando le impostazioni internazionali attualmente imbevuta.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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Parametri
c | - | carattere che deve essere esaminato per equivalenza, ignorando caso
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. |
[modifica] Valore di ritorno
Il case-insensitive chiave di confronto per
c
nel locale attualmente imbevuta.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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Esempio
This section is incomplete Reason: no example |