Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

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

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

      Returns a value not equivalent to any valid value of typechar_type.

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

      Contents

      [edit]Parameters

      (none)

      [edit]Return value

       char_type eof()
      charEOF
      wchar_tWEOF
      char8_tan implementation-defined constant that
      cannot appear as a valid UTF-8 code unit
      char16_tan implementation-defined constant that
      cannot appear as a valid UTF-16 code unit
      char32_tan implementation-defined constant that
      cannot appear as a Unicode code point

      [edit]Complexity

      Constant.

      [edit]See also

      [static]
      checks whether a character iseof value
      (public static member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/string/char_traits/eof&oldid=171376"

      [8]ページ先頭

      ©2009-2025 Movatter.jp