Espacios de nombres
Variantes
Acciones

std::collate_byname

De cppreference.com
< cpp‎ | locale
 
 
 
Definido en el archivo de encabezado <locale>
template< class CharT >
class collate_byname : public std::collate<CharT>;
std::collate_byname es una faceta std::collate que encapsula la configuración regional específica cotejo (comparación) y hash de cadenas. Al igual que std::collate, puede estar impregnada en std::regex y aplicada, por medio de std::locale::operator(), directamente a todos los algoritmos estándar que esperan un predicado de comparación cadena .
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.
Dos especializaciones son proporcionados por la biblioteca estándar
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.
Definido en el archivo de encabezado <locale>
std::collate_byname<char>
específico de entorno nacional colación de cadenas multibyte
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>
específico de entorno nacional colación de cadenas de ancho
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.

Contenido

[editar] Las funciones miembro

construye una nueva faceta collate_byname
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.

(función miembro pública)
destructs una faceta collate_byname
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.

(función miembro protegida)

Heredado de std::collate

Member types

Miembro de tipo
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

Invoca 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.

(función miembro pública de std::collate) [editar]
Invoca 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.

(función miembro pública de std::collate) [editar]
Invoca 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.

(función miembro pública de std::collate) [editar]

Protected member functions

[virtual]
compara dos cadenas mediante reglas de esta faceta de la clasificación
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.

(función miembro virtual protegida de std::collate) [editar]
[virtual]
transforma una cadena para que intercalación puede ser sustituido por comparación
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.

(función miembro virtual protegida de std::collate) [editar]
[virtual]
genera un valor hash entero utilizando las reglas esta faceta de intercalación
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.

(función miembro virtual protegida de std::collate) [editar]

[editar] Notas

Para la colación es típicamente lexicográfica entre mayúsculas y minúsculas comparación de acuerdo con la configuración regional del alfabeto, pero en algunos lugares, grupos de caracteres comparar unidades de intercalación como individuales. Por ejemplo, "ch" en checo sigue "h" y precede a "i" y "ng" en galés sigue "g" y precede a "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.

[editar] Ejemplo

[editar] Ver también

Define la comparación lexicográfica y hashing (resumen) de cadenas.
(plantilla de clase) [editar]
Compara dos cadenas de acuerdo a la configuración regional actual
(función) [editar]
Compara dos cadenas anchas, de acuerdo a la configuración regional actual
(función) [editar]
Compara lexicográficamente dos cadenas utilizando la faceta de intercalación de esta configuración regional.
(función miembro pública de std::locale) [editar]