std::regex_traits::translate
Aus cppreference.com
< cpp | regex | regex traits
![]() |
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. |
CharT translate(CharT c) const; |
||
Ermittelt die Vergleichs-Taste für das Zeichen
c
, derart, daß alle Zeichen, die äquivalent zu dieser Zeichen im durchdrungen Gebietsschema sind den gleichen Schlüssel zu erzeugen .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.
Wenn die regex-Bibliothek auf zwei Zeichen übereinstimmen muss
c1
und c2
und die Flagge std::regex_constants::collate true ist, führt es 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.
Standardbibliothek Spezialisierungen std::regex_traits Rückkehr
c
unmodifizierte .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.
[Bearbeiten] Parameter
c | - | Zeichen, das auf Gleichwertigkeit geprüft werden muss
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. |
[Bearbeiten] Rückgabewert
Der Vergleich Tasten
c
in der derzeit durchdrungen locale .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.
[Bearbeiten] Beispiel
This section is incomplete Reason: no example |