名前空間
変種

std::char_traits<CharT>::not_eof

提供: cppreference.com
<tbody> </tbody> <tbody class="t-dcl-rev "> </tbody><tbody> </tbody>
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 を返します。

引数

e - 解析する値

戻り値

eeof 値が同等でなければ e、そうでなければ他の何らかの eof でない値を返します。

計算量

一定。

関連項目

[静的]
eof 値を返します
(パブリック静的メンバ関数) [edit]