名前空間
変種
操作

std::regex_traits::translate

提供: cppreference.com
< cpp‎ | regex‎ | regex traits

 
 
正規表現ライブラリ
クラス
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_regex(C++11)
sub_match(C++11)
match_results(C++11)
アルゴリズム
Original:
Algorithms
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_match(C++11)
regex_search(C++11)
regex_replace(C++11)
イテレータ
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_iterator(C++11)
regex_token_iterator(C++11)
例外
Original:
Exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_error(C++11)
形質
Original:
Traits
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_traits(C++11)
定数
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
syntax_option_type(C++11)
match_flag_type(C++11)
error_type(C++11)
 
 
CharT translate(CharT c) const;
吹き込まれたロケールで、この文字に相当します、すべての文字が同じキーを生成するような文字cための比較キーを取得.
Original:
Obtains the comparison key for the character c, such that all characters that are equivalent to this character in the imbued locale produce the same key.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
正規表現ライブラリは、2つの文字に一致する必要がある場合c1c2とフラグstd::regex_constants::collatetrueですが、それはregex_traits<>::translate(c1) == regex_traits<>::translate(c2)実行.
Original:
When the regex library needs to match two characters c1 and c2 and the flag std::regex_constants::collate is true, it executes regex_traits<>::translate(c1) == regex_traits<>::translate(c2).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::regex_traitsリターンの標準ライブラリスペシャc変更されていない.
Original:
Standard library specializations of std::regex_traits return c unmodified.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] パラメータ

c -
文字のシングルバイト表現
Original:
character that needs to be examined for equivalence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

ための比較キーc現在吹き込まロケールで.
Original:
The comparison key for c in the currently imbued locale.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集]