Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

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

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

      Givene, produces a suitable value that is not equivalent toeof.

      This function is typically used when a value other thaneof needs to be returned, such as in implementations ofstd::basic_streambuf::overflow().

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

      Contents

      [edit]Parameters

      e - value to analyze

      [edit]Return value

      e ife andeof value are not equivalent, or some other non-eof value otherwise.

      [edit]Complexity

      Constant.

      [edit]See also

      [static]
      returns aneof value
      (public static member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/string/char_traits/not_eof&oldid=171377"

      [8]ページ先頭

      ©2009-2025 Movatter.jp