std::char_traits::not_eof

From cppreference.com
static int_type not_eof( int_type e );
(until C++11)
static constexpr int_type not_eof( int_type e ) noexcept;
(since C++11)

Checks whether e is not equivalent to eof value.

Contents

[edit] Parameters

e - value to analyze

[edit] Return value

e if e and eof value are not equivalent, some other value otherwise.

[edit] Exceptions

noexcept specification:  
noexcept
  (since C++11)

[edit] Complexity

Constant.

[edit] See also

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