std::iswctype (3) - Linux Man Pages
Defined in header <cwctype>
int iswctype( std::wint_t wc, std::wctype_t desc );
Classifies the wide character wc using the current C locale's LC_CTYPE category identified by desc.
If the value of wc is neither representable as a wchar_t nor equal to the value of the macro WEOF, the behavior is undefined.
wc - the wide character to classify
desc - the LC_CTYPE category, obtained from a call to std::wctype
Non-zero if the character ch has the property identified by desc in LC_CTYPE facet of the current C locale, zero otherwise.
// Run this code