std::char_traits::not_eof

From cppreference.com
bool not_eof( int_type a );
(until C++11)
constexpr bool not_eof( int_type a );
(since C++11)

Checks whether a is not equivalent to eof value.

Contents

[edit] Parameters

a - value to analyze

[edit] Return value

true if a and eof value are not equivalent, false otherwise.

[edit] Exceptions

noexcept specification:  
noexcept
  (since C++11)

[edit] Complexity

Constant.

[edit] See also

[static]
returns an eof value
(public static member function)