public static member function
<string>
static bool eq_int_type (const int_type& x, const int_type& y);
static constexpr bool eq_int_type (int_type x, int_type y) noexcept;
比較 int_type 值
返回x 和 y 是否被認為是相等的。
如果 x 和 y 都表示有效的字元,則該函式返回與 成員 eq 對它們的char_type轉換相同的結果。
此外,如果 x 和 y 都是 eof() 的副本,則該函式返回true。如果只有其中一個是 eof() 的副本,則該函式返回false.
在所有其他情況下,返回的值是不確定的。
引數
x, y
要比較的值。
成員型別int_type是一個整數型別,可以表示 eof() 或任何有效的字元值。