std::operator==,!=,<<div class="t-tr-text">(Std :: error_code)<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">(std::error_code)</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| Déclaré dans l'en-tête <system_error>
|
||
bool operator==( const error_code& lhs, const error_code& rhs ); |
(1) | (depuis C++11) |
bool operator!=( const error_code& lhs, const error_code& rhs ); |
(1) | (depuis C++11) |
bool operator<( const error_code& lhs, const error_code& rhs ); |
(1) | (depuis C++11) |
Compare deux objets code d'erreur .
Original:
Compares two error code objects.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
1)
Compare
lhs et rhs pour l'égalité .Original:
Compares
lhs and rhs for equality.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
2)
Compare
lhs et rhs pour l'égalité .Original:
Compares
lhs and rhs for equality.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
3)
Vérifie si
lhs est inférieure à rhs . Original:
Checks whether
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.
You can help to correct and verify the translation. Click here for instructions.
Paramètres
| lhs, rhs | - | les codes d'erreur pour comparer
Original: error codes to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Retourne la valeur
1) .|
true si la catégorie d'erreur et la valeur d'erreur sont équivalentesOriginal:
{{{2}}}
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
true if the error category and error value compare equal}}.}}2) |
true si la catégorie d'erreur ou de la valeur d'erreur de comparer ne sont pas égauxOriginal:
{{{2}}}
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
true if the error category or error value compare are not equal}}}}3)
true si lhs.category() < rhs.category(). Dans le cas contraire, si true lhs.category() == rhs.category() && lhs.value() < rhs.value(). Sinon, falseOriginal:
true if lhs.category() < rhs.category(). Otherwise, true if lhs.category() == rhs.category() && lhs.value() < rhs.value(). Otherwise, falseThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Exceptions
Exceptions
Voir aussi
obtient le error_category pour cette error_code Original: obtains the error_category for this error_code The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction membre publique) | |