◐ Shell
clean mode source ↗

std::char_traits::eq, std::char_traits::lt - cppreference.com

Da cppreference.com.

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

<metanoindex/>

<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

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.