std::char_traits::not_eof

static int_type not_eof( int_type e );
(until C++11)
static constexpr int_type not_eof( int_type e );
(since C++11)

Checks whether e is not equivalent to eof value.

Parameters

e - value to analyze

Return value

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

Exceptions

(none) (until C++11)
noexcept specification:
noexcept
(since C++11)

Complexity

Constant.

See also

[static]
returns an eof value
(public static member function)
doc_CPP
2016-10-11 10:01:44
Comments
Leave a Comment

Please login to continue.