Espacios de nombres
Variantes
Acciones

std::wcscoll

De cppreference.com
< cpp‎ | string‎ | wide
 
 
 
 
Definido en el archivo de encabezado <cwchar>
int wcscoll(constwchar_t* lhs, constwchar_t* rhs );
Compara dos cadenas de terminación nula características basándose en la configuración regional instalada más recientemente por std::setlocale, según la definición de la categoría LC_COLLATE .
Original:
Compares two null-terminated wide strings according to the locale most recently installed by std::setlocale, as defined by the LC_COLLATE category.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar]Parámetros

lhs, rhs -
punteros a las cadenas anchas terminadas en cero para comparar
Original:
pointers to the null-terminated wide strings to compare
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar]Valor de retorno

Valor negativo si lhs es menos (precede) rhs .
Original:
Negative value if lhs is less than (precedes) rhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
0lhs si es igual a'rhs .
Original:
0 if lhs is equal torhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Valor positivo si lhs es superior (sigue) rhs .
Original:
Positive value if lhs is greater than (follows) rhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[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

Compara dos cadenas de acuerdo a la configuración regional actual
(función)[editar]
[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]
Transforma una cadena ancha para que wcscmp produzca el mismo resultado que wcscoll
(función)[editar]
Documentación de C para wcscoll
close