std::char_traits::eq_int_type

来自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
 
bool eq_int_type( int_type a, int_type b );
(至 C++11)
constexpr bool eq_int_type( int_type a, int_type b );
(C++11 起)
。检查int_type的类型的两个值是否相等。
Original:
Checks whether two values of type int_type are equal.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
。返回值是不确定的,如果两个ab是“EOF”值相等的。
Original:
Return value is unspecified if both of a and b are equal to eof value.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 。参数。

a, b -
值进行比较。
Original:
values to compare
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

===。 返回值。===

true如果a等于bfalse否则的。
Original:
true if a is equal to b, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 。例外。

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.