std::char_traits::eq, std::char_traits::lt - cppreference.com
Espaços nominais
Variantes
Ações

std::char_traits::eq, std::char_traits::lt

De cppreference.com

<metanoindex/>

 
 
Biblioteca cordas
Strings terminadas
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Cadeias de bytes
Multibyte cordas
Cordas de largura
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
 
<tbody> </tbody>
bool eq( CharT a, CharT b );
(1) (até C++11)
constexpr bool eq( CharT a, CharT b );
(1) (desde C++11)
bool lt( CharT a, CharT b );
(2) (até C++11)
constexpr bool lt( CharT a, CharT b );
(2) (desde C++11)
Compara dois personagens.
Original:
Compares two characters.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Compara a e b pela igualdade.
Original:
Compares a and b for equality.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Compara a b e de tal modo que eles são totalmente ordenada.
Original:
Compares a and b in such a way that they are totally ordered.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parâmetros

a, b -
valores de caracteres para comparar
Original:
character values to compare
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

1)
true se a e b são iguais, caso contrário false.
Original:
true if a and b are equal, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
true se a é menos que b, false outra forma.
Original:
true if a is less than b, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Exceções

noexcept specification:  
<tbody> </tbody>
  (desde C++11)

Complexidade

Constante.
Original:
Constant.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.