std::wctype(3)
π NAME π
std::wctype - std::wctype β bestie, that's literally the whole name, and this is the std::wctype(3) page from the C++ Standard Library. No cap, we're doing wide-character category lookup today π
.
β¨ Synopsis β¨
Defined in header <cwctype>.
std::wctype_t wctype( const char* str );
Okay so std::wctype constructs a value of type std::wctype_t that describes a LC_CTYPE category of wide character classification. It may be one of the standard classification categories, or a locale-specific category, such as "jkanji" πΈ.
π Parameters π
strβ C string holding the name of the desired category.
The following values of str are supported in all C locales:
"alnum"β identifies the category used bystd::iswalnum"alpha"β identifies the category used bystd::iswalpha"blank"β identifies the category used bystd::iswblank(C++11)"cntrl"β identifies the category used bystd::iswcntrl"digit"β identifies the category used bystd::iswdigit"graph"β identifies the category used bystd::iswgraph"lower"β identifies the category used bystd::iswlower"print"β identifies the category used bystd::iswprint"space"β identifies the category used bystd::iswspace"upper"β identifies the category used bystd::iswupper"xdigit"β identifies the category used bystd::iswxdigit
π Return value π
A std::wctype_t object suitable for use with std::iswctype to classify wide characters according to the named category of the current C locale, or zero if str does not name a category supported by the current C locale. Slay π
.
π«Ά See also π«Ά
iswctypeβ classifies a wide character according to the specifiedLC_CTYPEcategory (function).- C documentation for
wctype.
mwah π and that's the whole page, bestie. Source: http://cppreference.com; version/date: 2024.06.10. Byeeee! π¦
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms