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>
Da cppreference.com
< cpp | error | error code
![]() |
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. |
Definido no cabeçalho <system_error>
|
||
bool operator==( const error_code& lhs, const error_code& rhs ); |
(1) | (desde C++11) |
bool operator!=( const error_code& lhs, const error_code& rhs ); |
(1) | (desde C++11) |
bool operator<( const error_code& lhs, const error_code& rhs ); |
(1) | (desde C++11) |
Compara dois objetos de código de erro.
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)
Compara
lhs
e rhs
pela igualdade.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)
Compara
lhs
e rhs
pela igualdade.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)
Verifica se
lhs
é menor do que 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.
Índice |
[editar] Parâmetros
lhs, rhs | - | códigos de erro para comparar
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. |
[editar] Valor de retorno
1)
true se a categoria de erro e valor de erro comparar igual
.|true if the error category and error value compare equal}}.}}Original:
{{{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.
2)
true se a categoria de erro ou valor de erro comparar não são iguais
|true if the error category or error value compare are not equal}}}}Original:
{{{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.
3)
true se lhs.category() < rhs.category(). Caso contrário, se true lhs.category() == rhs.category() && lhs.value() < rhs.value(). Caso contrário, false
Original:
true if lhs.category() < rhs.category(). Otherwise, true if lhs.category() == rhs.category() && lhs.value() < rhs.value(). Otherwise, false
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.
[editar] Exceções
[editar] Exceções
[editar] Veja também
obtém o error_category para este 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. (função pública membro) |