SysTutorials

Linux Manual Pages › Section 3

stdchar_traitseq_int_type(3)

std::char_traits<CharT>::eq_int_type - std::char_traits<CharT>::eq_int_type

Synopsis

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

Checks whether two values of type int_type are equal. Formally,

Parameters

c1, c2 - values to compare

Return value

true if c1 is equal to c2 under the rules described above, false otherwise.

Complexity

Constant.