std::wcscoll
Da 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. |
Definido no cabeçalho <cwchar>
|
||
int wcscoll( const wchar_t* lhs, const wchar_t* rhs ); |
||
Compara duas strings terminadas largo de acordo com o local, mais recentemente instalado por std::setlocale, tal como definido pela categoria 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.
You can help to correct and verify the translation. Click here for instructions.
Índice |
[editar] Parâmetros
lhs, rhs | - | ponteiros para as cordas de terminação nula de largura 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 se
lhs
é 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.
You can help to correct and verify the translation. Click here for instructions.
0 se
lhs
é igual rhs
.Original:
0 if
lhs
is equal to rhs
.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.
Valor positivo se
lhs
é maior (segue) 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.
You can help to correct and verify the translation. Click here for instructions.
[editar] Notas
Ordem de comparação é tipicamente comparação de maiúsculas e minúsculas lexicográfica de acordo com o alfabeto local, mas em algumas localidades, grupos de personagens comparar unidades de agrupamento como individuais. Por exemplo, "ch" em checo segue "h" e precede "i", e "ng" em galês segue "g" e precede "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.
[editar] Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar] Veja também
compara duas seqüências de acordo com a localidade 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. (função) | |
[virtual] |
compara duas seqüências usando as regras esta faceta do agrupamento 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. (virtual protegido of std::collate função de membro)
|
transformar uma string de largura para que wcscmp produziria o mesmo resultado que wcscoll Original: transform a wide string so that wcscmp would produce the same result as wcscoll The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
Documentação C para wcscoll
|