Varianti

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

Da cppreference.com.

<metanoindex/>

 
 
Stringhe libreria
Null-stringhe terminate
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.
Byte stringhe
Multibyte stringhe
Stringhe larghe
Classi
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string
char_traits
 
 
<tbody> </tbody>
bool eq( CharT a, CharT b );
(1) (fino al c++11)
constexpr bool eq( CharT a, CharT b );
(1) (dal C++11)
bool lt( CharT a, CharT b );
(2) (fino al c++11)
constexpr bool lt( CharT a, CharT b );
(2) (dal C++11)
Confronta due caratteri.
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)
Confronta a e b per la parità.
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)
Confronta a e b in modo tale che essi sono totalmente ordinata.
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.

Parametri

a, b -
valori dei caratteri da confrontare
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.

Valore di ritorno

1)
true se a e b sono uguali, altrimenti 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 è meno di b, false altrimenti.
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.

Eccezioni

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

Complessità

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