Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::char_traits<char>::to_int_type,std::char_traits<wchar_t>::to_int_type,std::char_traits<char8_t>::to_int_type,std::char_traits<char16_t>::to_int_type,std::char_traits<char32_t>::to_int_type

      From cppreference.com
      <cpp‎ |string‎ |char traits
       
       
       
       
      static int_type to_int_type( char_type c);
      (constexpr since C++11)
      (noexcept since C++11)

      Convertsc toint_type.

      SeeCharTraits for the general requirements on character traits forX::to_int_type.

      Contents

      [edit]Parameters

      c - value to convert

      [edit]Return value

      A value equivalent toc.

      [edit]Complexity

      Constant.

      [edit]Notes

      For every valid value ofchar_type, there must be a unique value ofint_type distinct fromeof().

      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/string/char_traits/to_int_type&oldid=171373"

      [8]ページ先頭

      ©2009-2025 Movatter.jp