std::char_traits::compare — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
||
Compare les caractères count premières chaînes de caractères lhs et rhs. La comparaison est faite lexicographique .
Original:
Compares the first count characters of the character strings lhs and rhs. The comparison is done lexicographically.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Paramètres
| lhs, rhs | - | pointeurs vers des chaînes de caractères à comparer Original: pointers to character strings to compare The text has been machine-translated via Google Translate. |
| count | - | le nombre de caractères à comparer dans chaque chaîne de caractères Original: the number of characters to compare from each character string The text has been machine-translated via Google Translate. |
Retourne la valeur
Valeur négative si lhs est moins rhs .
Original:
Negative value if lhs is less than rhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
0 si lhs est égal à' rhs .
Original:
0 if lhs is equal to rhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Valeur positive si lhs est supérieure à' rhs .
Original:
Positive value if lhs is greater than rhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Exceptions
(Aucun)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Complexité
Linéaire .
Original:
Linear.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.