std::isxdigit(std::locale)
From cppreference.com
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.
Parameters
ch | - | character |
loc | - | locale |
Return value
Returns true if the character is classified as a hexadecimal digit, false otherwise.
Possible implementation
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); } |
Example
This section is incomplete Reason: no example |
See also
checks if a character is a hexadecimal character (function) | |
checks if a wide character is a hexadecimal character (function) |