std::regex_traits::translate
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(CharT c) const; |
||
Ottiene la chiave di confronto per la
c
personaggio, in modo che tutti i caratteri che sono equivalenti a questo personaggio nella versione locale intriso 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 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::collate bandiera è true, esegue 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.
You can help to correct and verify the translation. Click here for instructions.
specializzazioni libreria standard di rendimento std::regex_traits
c
non modificato.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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Parametri
c | - | carattere che deve essere esaminato per l'equivalenza
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. |
[modifica] Valore di ritorno
La chiave di confronto per
c
nel locale attualmente intriso.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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Esempio
This section is incomplete Reason: no example |