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) |
检查是否e
不等于EOF价值。
参数
e | - | value to analyze |
---|
返回值
e
如果e
和EOF值不是等价的,其他值则不相等。
例外
(none) | (until C++11) |
---|---|
noexcept specification: noexcept | (since C++11) |
复杂性
常量。
另见
eof static | returns an eof value (public static member function) |
---|
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com