std::error_category::operator==,!=,<
De cppreference.com
|
|
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
bool operator==( const error_category& rhs ) const; |
(1) | (desde C++11) |
bool operator!=( const error_category& rhs ) const; |
(2) | (desde C++11) |
bool operator<( const error_category& rhs ) const; |
(1) | (desde C++11) |
Compara a otra categoría de error .
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)
Comprueba si
*this y rhs se refieren al mismo objeto .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)
Comprueba si
*this rhs y no se refieren al mismo objeto .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)
Las órdenes
*this y rhs por el orden de this y &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.
Parámetros
| code | - | especifica el código de error para comparar
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 | - | especifica la condición de error para comparar
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. |
Valor de retorno
1)
true si *this y rhs se refieren al mismo objeto, false de otra manera .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 si *this rhs y no se refieren al mismo objeto, false de otra manera .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 si es menor que rhs tal como se define por el orden de this y &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.