std::error_category::operator==,!=,<
Da cppreference.com.
< cpp | error | error category
![]() |
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. |
bool operator==( const error_category& rhs ) const; |
(1) | (dal C++11) |
bool operator!=( const error_category& rhs ) const; |
(2) | (dal C++11) |
bool operator<( const error_category& rhs ) const; |
(1) | (dal C++11) |
Confronta ad un'altra categoria di errore.
Original:
Compares to another error category.
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)
Verifica se *this e
rhs
si riferiscono allo stesso oggetto.Original:
Checks whether *this and
rhs
refer to the same object.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)
Verifica se *this
rhs
e non si riferiscono allo stesso oggetto.Original:
Checks whether *this and
rhs
do not refer to the same object.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)
Ordini *this e
rhs
per ordine di this e &rhs. Equivalente a std::less<const error_category*>()(this, &rhs).Original:
Orders *this and
rhs
by the order of this and &rhs. Equivalent to std::less<const error_category*>()(this, &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.
[modifica] Parametri
code | - | specifica il codice di errore da confrontare
Original: specifies the error code to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
condition | - | specifica la condizione di errore da confrontare
Original: specifies the error condition to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica] Valore di ritorno
1)
true se *this e
rhs
si riferiscono allo stesso oggetto, false altrimenti.Original:
true if *this and
rhs
refer to the same object, false otherwise.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)
true se *this
rhs
e non si riferiscono allo stesso oggetto, false altrimenti.Original:
true if *this and
rhs
do not refer to the same object, false otherwise.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)
true *this se è inferiore a
rhs
definito dall'ordine di this
e &rhs.Original:
true if *this is less than
rhs
as defined by the order of this
and &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.