std::char_traits::eof

来自cppreference.com

 
 
字符串库
null结尾的字符串
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
字节的字符串
多字节字符串
宽字符串
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string
char_traits
 
std::char_traits
成员函数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
char_traits::assign
char_traits::cmp
char_traits::move
char_traits::copy
char_traits::compare
char_traits::length
char_traits::find
char_traits::to_char_type
char_traits::to_int_type
char_traits::eq_int_type
char_traits::eof
char_traits::not_eof
 
int_type eof();
(至 C++11)
constexpr int_type eof();
(C++11 起)

Returns a value not equivalent to any value of type char_type.

目录

[编辑] 。参数。

。 (无)。
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

===。 返回值。=== A value not equivalent to any value of type char_type.

[编辑] 。例外。

noexcept specification:  
noexcept
  (C++11 起)

[编辑] 。复杂性。

。恒定。
Original:
Constant.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 。另请参阅。

[静态的] </ SPAN></div></div>
检查字符是否是“EOF”值
Original:
checks whether a character is eof value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(公共静态成员函数) [edit]
来自“http://zh.cppreference.com/mwiki/index.php?title=cpp/string/char_traits/eof&oldid=27209