static int_type not_eof( int_type e); | (constexpr since C++11) (noexcept since C++11) | |
Givene, produces a suitable value that is not equivalent toeof.
This function is typically used when a value other thaneof needs to be returned, such as in implementations ofstd::basic_streambuf::overflow().
SeeCharTraits for the general requirements on character traits forX::not_eof.
Contents |
| e | - | value to analyze |
e ife andeof value are not equivalent, or some other non-eof value otherwise.
Constant.
[static] | returns aneof value (public static member function)[edit] |