Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::wctrans

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

      Constructs a value of typestd::wctrans_t that describes aLC_CTYPE category of wide character mapping. It may be one of the standard mappings, or a locale-specific mapping, such as"tojhira" or"tojkata".

      Contents

      [edit]Parameters

      str - C string holding the name of the desired mapping.

      The following values ofstr are supported in all C locales:

      Value ofstr Effect
      "toupper" identifies the mapping used bytowupper
      "tolower" identifies the mapping used bytowlower

      [edit]Return value

      std::wctrans_t object suitable for use withstd::towctrans to map wide characters according to the named mapping of the current C locale or zero ifstr does not name a mapping supported by the current C locale.

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      performs character mapping according to the specifiedLC_CTYPE mapping category
      (function)[edit]
      C documentation forwctrans
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/string/wide/wctrans&oldid=153716"

      [8]ページ先頭

      ©2009-2025 Movatter.jp