◐ Shell
clean mode source ↗

std::char_traits<CharT>::eof - cppreference.com

<tbody> </tbody> <tbody class="t-dcl-rev "> </tbody><tbody> </tbody>

static int_type eof();

(C++11未満)

static constexpr int_type eof() noexcept;

(C++11以上)

char_type 型の有効ないかなる値とも同等でない値を返します。

形式的には、 すべての値 c について X::eq_int_type(e, X::to_int_type(c))false であるような値 e を返します。

引数

(なし)

戻り値

char_type 型の有効ないかなる値とも同等でない値。

計算量

一定。

関連項目

[静的]

文字が eof 値かどうか調べます
(パブリック静的メンバ関数) [edit]