名前空間
変種
操作

std::strcoll

提供: cppreference.com
< cpp‎ | string‎ | byte

 
 
ストリングスライブラリ
NULLで終わる文字列
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
バイト文字列
文字列をマルチバイト
ワイド文字列
クラス
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string
char_traits
 
NULL終端バイト文字列
機能します
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
文字操作
Original:
Character manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
数値形式への変換
Original:
Conversions to numeric formats
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
文字列操作
Original:
String manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
strcpy
strncpy
strcat
strncat
strxfrm
文字列の検査
Original:
String examination
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
メモリ操作
Original:
Memory manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
memchr
memcmp
memset
memcpy
memmove
その他
Original:
Miscellaneous
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
strerror
 
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.

目次

[編集] パラメータ

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

[編集] ノート

照合順序は、通常、ロケールのアルファベットに基づいた辞書式の大文字と小文字を区別しない比較であるが、一部のロケールでは、文字のグループは、単一の照合単位として比較する。たとえば、チェコ語では "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.

[編集]

[編集] も参照してください

現在のロケールに基づいて、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.

(機能) [edit]
[仮想]
このファセットの照合ルールを使用して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) [edit]
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.

(機能) [edit]
C documentation for strcoll