std::strcoll
提供: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. |
| Defined in header <cstring>
|
||
| int strcoll( const char* lhs, const char* rhs ); |
||
LC_COLLATEカテゴリによって定義されるように現在のロケールに基づいて2つのヌル終端バイト文字列を比較.
Original:
Compares two null-terminated byte strings according to the current locale 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.
目次 |
[編集] パラメータ
| lhs, rhs | - | 比較するNULL終端バイト文字列へのポインタ
Original: pointers to the null-terminated byte 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. |
[編集] 値を返します
lhs場合は負の値は(先行)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場合
lhsです等しい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.
lhs場合は正の値は(追従)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.
[編集] ノート
照合順序は、通常、ロケールのアルファベットに基づいた辞書式の大文字と小文字を区別しない比較であるが、一部のロケールでは、文字のグループは、単一の照合単位として比較する。たとえば、チェコ語では "ch"は "h"をたどり、 "i"を先行し、 "NG"ウェールズ語で "g"をたどり、 "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.
[編集] 例
| This section is incomplete Reason: no example |
[編集] も参照してください
| 現在のロケールに基づいて、2つのワイド文字列を比較します 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. (機能) | |
| [仮想] |
このファセットの照合ルールを使用して2つの文字列を比較します 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. (仮想protectedメンバ関数of std::collate)
|
| strcmp関数はstrcoll関数と同じ結果を生成するように文字列を変換します Original: transform a string so that strcmp would produce the same result as strcoll The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| C documentation for strcoll
| |