3#ifndef TETL_CWCTYPE_ISWGRAPH_HPP
4#define TETL_CWCTYPE_ISWGRAPH_HPP
28 auto const isDigit =
iswdigit(ch) != 0;
29 auto const isUpper =
iswupper(ch) != 0;
30 auto const isLower =
iswlower(ch) != 0;
31 auto const isPunct =
iswpunct(ch) != 0;
32 return static_cast<int>(isDigit || isLower || isUpper || isPunct);
constexpr auto iswupper(wint_t ch) noexcept -> int
Checks if the given wide character is an uppercase letter, i.e. one of ABCDEFGHIJKLMNOPQRSTUVWXYZ or ...
Definition iswupper.hpp:20
constexpr auto iswdigit(wint_t ch) noexcept -> int
Checks if the given wide character corresponds (if narrowed) to one of the ten decimal digit characte...
Definition iswdigit.hpp:18
constexpr auto iswlower(wint_t ch) noexcept -> int
Checks if the given wide character is a lowercase letter, i.e. one of abcdefghijklmnopqrstuvwxyz or a...
Definition iswlower.hpp:20
constexpr auto iswgraph(wint_t ch) noexcept -> int
Checks if the given wide character has a graphical representation, i.e. it is either a number (012345...
Definition iswgraph.hpp:26
constexpr auto iswpunct(wint_t ch) noexcept -> int
Checks if the given wide character is a punctuation character, i.e. it is one of !...
Definition iswpunct.hpp:20
Definition adjacent_find.hpp:8
unsigned int wint_t
Definition wint_t.hpp:29