Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::basic_ios<CharT,Traits>::widen

      From cppreference.com
      <cpp‎ |io‎ |basic ios
       
       
       
       
      char_type widen(char c)const;

      Converts a characterc to its equivalent in the current locale. The result is converted fromchar to character type used within the stream if needed.

      Effectively callsstd::use_facet<std::ctype<char_type>>(getloc()).widen(c).

      [edit]Parameters

      c - character to convert

      [edit]Return value

      Character converted tochar_type

      [edit]See also

      narrows characters
      (public member function)[edit]
      [virtual]
      converts a character or characters fromchar toCharT
      (virtual protected member function ofstd::ctype<CharT>)[edit]
      widens a single-byte narrow character to wide character, if possible
      (function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/io/basic_ios/widen&oldid=180007"

      [8]ページ先頭

      ©2009-2025 Movatter.jp