std::collate_byname
提供: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 <locale>
|
||
| template< class CharT > class collate_byname : public std::collate<CharT>; |
||
std::collate_bynameロケール固有の照合(比較)と文字列のハッシュをカプセルstd::collateファセットです。ちょうどstd::collateのように、それは、直接文字列の比較述語を期待するすべての標準アルゴリズムに、std::regexにより、std::locale::operator()と応用に染み込んすることができます.
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.
You can help to correct and verify the translation. Click here for instructions.
2つの専門分野は、標準ライブラリで提供されています
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.
You can help to correct and verify the translation. Click here for instructions.
| Defined in header
<locale> | |
| std::collate_byname<char> | マルチバイト文字列のロケール固有の照合
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> | ロケール固有のワイド文字列の照合
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. |
目次 |
[編集] メンバ関数
| 新しい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. (パブリックメンバ関数) | |
| 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. (メンバー関数を保護しました) | |
Inherited from std::collate
Member types
| メンバー·タイプ
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
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. (パブリックメンバ関数of std::collate)
| |
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. (パブリックメンバ関数of std::collate)
| |
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. (パブリックメンバ関数of std::collate)
| |
Protected member functions
| [仮想] |
このファセットの照合ルールを使用して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)
|
| [仮想] |
その照合は比較に置き換えることができるように文字列を変換します 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. (仮想protectedメンバ関数of std::collate)
|
| [仮想] |
このファセットの照合ルールを使用して整数のハッシュ値を生成します 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. (仮想protectedメンバ関数of std::collate)
|
[編集] ノート
照合順序は、通常、ロケールのアルファベットに基づいた辞書式の大文字と小文字を区別しない比較であるが、一部のロケールでは、文字のグループは、単一の照合単位として比較する。たとえば、チェコ語では "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 |
[編集] も参照してください
| 文字列の比較とハッシュを辞書式が定義されています Original: defines lexicographical comparison and hashing of strings 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 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 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. (機能) | |
| lexicographically compares two strings using this locale's collate facet (パブリックメンバ関数of std::locale)
| |