名前空間
変種
操作

std::char_traits<CharT>::not_eof

提供: cppreference.com
< cpp‎ | string‎ | char traits
static int_type not_eof( int_type e );
(C++11未満)
static constexpr int_type not_eof( int_type e ) noexcept;
(C++11以上)

eeof 値と同等でないかどうか調べます。

形式的には

  • X::eq_int_type(e, X::eof())false であれば e を返します。
  • そうでなければ、 X::eq_int_type(f, X::eof())false であるような値 f を返します。

目次