Defined in header <locale> | ||
|---|---|---|
template< class CharT > bool isxdigit( CharT ch, const locale& loc ); |
Checks if the given character is classified as a hexadecimal digit by the given locale's std::ctype facet.
| ch | - | character |
| loc | - | locale |
Returns true if the character is classified as a hexadecimal digit, false otherwise.
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);
} |
| checks if a character is a hexadecimal character (function) |
|
| checks if a wide character is a hexadecimal character (function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/locale/isxdigit