名前空間
変種
操作

std::char_traits<CharT>::eof

提供: cppreference.com
< cpp‎ | string‎ | char traits
2019年2月21日 (木) 15:29時点におけるMilkpot (トーク | 投稿記録)による版

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
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]