A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/string/char_traits/eq_int_type/ below:

public static member function

<string>

std::char_traits::eq_int_type
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;

Compare int_type values

Returns whether x and y are considered equal.

If both x and y represent valid characters, the function returns the same as member eq would for their char_type transformations.

Also, if both x and y are copies of eof(), the function returns true. If only one of them is a copy of eof(), the function returns false.

In all other cases, the returned valued is unspecified.



Parameters
x, y
Values to compare.
Member type int_type is an integral type that can represent eof() or any valid character value.

Return Valuetrue if x is considered equal to y.

Complexity Constant.

Exception safetyNo-throw guarantee: this member function never throws exceptions.

See also
char_traits::to_char_type
To char type (public static member function)
char_traits::to_int_type
To int type (public static member function)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4