Strings » Code units » is_hexadecimal_digit() module

Functions

auto is_hexadecimal_digit(char c) -> bool constexpr noexcept
Returns true if a character is a hexadecimal digit code point.
auto is_hexadecimal_digit(char16_t c) -> bool constexpr noexcept
Returns true if a UTF-16 code unit is a hexadecimal digit code point.
auto is_hexadecimal_digit(char32_t c) -> bool constexpr noexcept
Returns true if a UTF-32 code unit is a hexadecimal digit code point.
auto is_hexadecimal_digit(char8_t c) -> bool constexpr noexcept
Returns true if a UTF-8 code unit is a hexadecimal digit code point.
auto is_hexadecimal_digit(unsigned char c) -> bool constexpr noexcept
Returns true if a character is a hexadecimal digit code point.
auto is_hexadecimal_digit(wchar_t c) -> bool constexpr noexcept
Returns true if a wide character is a hexadecimal digit code point.

Function documentation

bool is_hexadecimal_digit(char c) constexpr noexcept
#include <muu/chars.h>

Returns true if a character is a hexadecimal digit code point.

bool is_hexadecimal_digit(char16_t c) constexpr noexcept
#include <muu/chars.h>

Returns true if a UTF-16 code unit is a hexadecimal digit code point.

bool is_hexadecimal_digit(char32_t c) constexpr noexcept
#include <muu/chars.h>

Returns true if a UTF-32 code unit is a hexadecimal digit code point.

bool is_hexadecimal_digit(char8_t c) constexpr noexcept
#include <muu/chars.h>

Returns true if a UTF-8 code unit is a hexadecimal digit code point.

bool is_hexadecimal_digit(unsigned char c) constexpr noexcept
#include <muu/chars.h>

Returns true if a character is a hexadecimal digit code point.

bool is_hexadecimal_digit(wchar_t c) constexpr noexcept
#include <muu/chars.h>

Returns true if a wide character is a hexadecimal digit code point.