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
From cppreference.net
<
cpp
|
string
|
char traits
|
static
bool
eq_int_type
(
int_type c1, int_type c2
)
;
|
(constexpr desde C++11)
(noexcept desde C++11) |
|
Comprueba si dos valores de tipo
int_type
son iguales.
Consulte
CharTraits
para los requisitos generales sobre rasgos de caracteres para
X::eq_int_type
.
Parámetros
| c1, c2 | - | valores a comparar |
Valor de retorno
true si c1 es igual a c2 , false en caso contrario.
Complejidad
Constante.