名前空間
変種
操作

std::isxdigit<div class="t-tr-text">(スタンダード::ロケール)<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">(std::locale)</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>

提供: cppreference.com
< cpp‎ | locale

 
 
 
ヘッダ <locale> で定義
template< class charT >
bool isxdigit( charT ch, const locale& loc );
指定された文字かどうかをチェックするには、指定されたロケールのstd::ctypeファセットでは16進数の数字として分類されている.
Original:
Checks if the given character is classified as a hexadecimal digit by the given locale's std::ctype facet.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

[編集] パラメータ

ch -
文字
Original:
character
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
loc -
ロケール
Original:
locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

戻りtrue文字が16進数字として分類されている場合、falseその他のとき.
Original:
Returns true if the character is classified as a hexadecimal digit, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 可能な実装

template< class charT >
bool isxdigit( charT ch, const std::locale& loc ) {
    return std::use_facet<std::ctype<charT>>(loc).is(std::ctype_base::xdigit, ch);
}

[編集]

[編集] 参照

文字が16進数字かどうか調べます
(関数) [edit]
ワイド文字が16進数字かどうか調べます
(関数) [edit]