Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::wctype

      From cppreference.com
      <cpp‎ |string‎ |wide
       
       
       
       
      Defined in header<cwctype>
      std::wctype_t wctype(constchar* str);

      Constructs a value of typestd::wctype_t that describes aLC_CTYPE category of wide character classification. It may be one of the standard classification categories, or a locale-specific category, such as"jkanji".

      [edit]Parameters

      str - C string holding the name of the desired category

      The following values ofstr are supported in all C locales:

      value ofstr effect
      "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

      [edit]Return value

      std::wctype_t object suitable for use withstd::iswctype to classify wide characters according to the named category of the current C locale or zero ifstr does not name a category supported by the current C locale.

      [edit]See also

      classifies a wide character according to the specifiedLC_CTYPE category
      (function)[edit]
      C documentation forwctype
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/string/wide/wctype&oldid=153720"

      [8]ページ先頭

      ©2009-2025 Movatter.jp