std::collate_byname
Aus cppreference.com
|
|
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. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <locale>
|
||
template< class CharT > class collate_byname : public std::collate<CharT>; |
||
std::collate_byname ist ein std::collate Facette, die locale-spezifischen Zusammenstellung (Vergleich) und Hashing von Strings kapselt. Genau wie std::collate, kann es in std::regex und angewandte durchdrungen sein, durch
std::locale::operator(), direkt an alle Standard-Algorithmen, die eine Zeichenfolge Vergleichsprädikat erwarten .Original:
std::collate_byname is a std::collate facet which encapsulates locale-specific collation (comparison) and hashing of strings. Just like std::collate, it can be imbued in std::regex and applied, by means of
std::locale::operator(), directly to all standard algorithms that expect a string comparison predicate.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.
Zwei Spezialisierungen werden durch die Standard-Bibliothek zur Verfügung gestellt
Original:
Two specializations are provided by the standard library
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.
definiert in Header
<locale> | |
std::collate_byname<char>
|
locale-spezifischen Zusammenstellung von Multibyte-Strings
Original: locale-specific collation of multibyte strings The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
std::collate_byname<wchar_t>
|
locale-spezifischen Zusammenstellung von Wide-Strings
Original: locale-specific collation of wide strings The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Member-Funktionen
baut eine neue collate_byname Facette Original: constructs a new collate_byname facet The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion) | |
zerstört sich eine collate_byname Facette Original: destructs a collate_byname facet The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (geschützt Member-Funktion) | |
Inherited from std::collate
Member types
Mitglied Typ
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
char_type
|
charT
|
string_type
|
std::basic_string<charT>
|
Member functions
Beruft do_compare Original: invokes do_compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion of std::collate)
| |
Beruft do_transform Original: invokes do_transform The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion of std::collate)
| |
Beruft do_hash Original: invokes do_hash The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion of std::collate)
| |
Protected member functions
[virtuell] |
vergleicht zwei Strings mit dieser Facette der Kollatierung Regeln Original: compares two strings using this facet's collation rules The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtuellen geschützten Member-Funktion of std::collate)
|
[virtuell] |
wandelt einen String, so dass collation durch Vergleich ersetzt werden können Original: transforms a string so that collation can be replaced by comparison The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtuellen geschützten Member-Funktion of std::collate)
|
[virtuell] |
erzeugt einen Integer-Hash-Wert mit dieser Facette der Kollatierung Regeln Original: generates an integer hash value using this facet's collation rules The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtuellen geschützten Member-Funktion of std::collate)
|
Notes
Sortierreihenfolge ist in der Regel lexikographische Groß-und Kleinschreibung Vergleich gemäß der Ländereinstellung Alphabet, aber in manchen Gebietsschemas vergleichen Gruppen von Zeichen als einzelne Sortierung Einheiten. Zum Beispiel folgt "ch" in der Tschechischen "h" und vor "i" und "ng" in Welsh folgt "g" und vor "h" .
Original:
Collation order is typically lexicographic case-insensitive comparison according to the locale's alphabet, but in some locales, groups of characters compare as single collation units. For example, "ch" in Czech follows "h" and precedes "i", and "ng" in Welsh follows "g" and precedes "h".
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.
Beispiel
| This section is incomplete Reason: no example |
Siehe auch
definiert lexikographische Vergleich und Hashing von Strings Original: defines lexicographical comparison and hashing of strings The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klassen-Template) | |
vergleicht zwei Strings in Übereinstimmung mit dem aktuellen Gebietsschema Original: compares two strings in accordance to the current locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
vergleicht zwei Wide-Strings in Übereinstimmung mit dem aktuellen Gebietsschema Original: compares two wide strings in accordance to the current locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
| lexicographically compares two strings using this locale's collate facet (öffentliche Elementfunktion of std::locale)
| |