std::iswalpha
From cppreference.com
Defined in header <cwctype>
|
||
int iswalpha( std::wint_t ch ); |
||
Checks if the given wide character is an alphabetic character, i.e. either an uppercase letter (ABCDEFGHIJKLMNOPQRSTUVWXYZ
), a lowercase letter (abcdefghijklmnopqrstuvwxyz
) or any alphabetic character specific to the current locale.
If the value of ch is neither representable as a wchar_t nor equal to the value of the macro WEOF, the behavior is undefined.
Contents |
[edit] Parameters
ch | - | wide character |
[edit] Return value
Non-zero value if the wide character is an alphabetic character, 0 otherwise.
[edit] Notes
ISO 30112 specifies which Unicode characters are include in POSIX alpha category.