Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::char_traits<char>::eq_int_type, std::char_traits<wchar_t>::eq_int_type, std::char_traits<char8_t>::eq_int_type, std::char_traits<char16_t>::eq_int_type, std::char_traits<char32_t>::eq_int_type

Checks whether two values of type int_type are equal.

NotebookLM
static bool eq_int_type( int_type c1, int_type c2 );
(constexpr since C++11)
(noexcept since C++11)

Checks whether two values of type int_type are equal.

See CharTraits for the general requirements on character traits for X::eq_int_type.

Parameters

c1, c2 - values to compare

Return value

true if c1 is equal to c2, false otherwise.

Complexity

Constant.

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.