展开

开发者手册

C++本土化 | Localizationsstd::isxdigit(std::locale)

STD::isx位%28std::locale%29

Defined in header <locale>

template< class charT > bool isxdigit( charT ch, const locale& loc );

检查给定字符是否被给定的区域设置%27s归类为十六进制数字std::ctype小面。

参数

ch

-

character

loc

-

locale

返回值

回报true如果字符被归类为十六进制数字,false否则。

可能的实施

模板<类图表>bool=28图表ch,Const std::locale&loc%29{返回std::use[医]facet<std::Ctype<charT>>%28 loc%29 is%28 std::Ctype[医]基::x位数,ch%29;}

*。

另见

isxdigit

checks if a character is a hexadecimal character (function)

iswxdigit

checks if a character is a hexadecimal character (function)

代码语言:txt
复制
 © cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。