std::swap<div class="t-tr-text">(Std :: match_results)<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::match_results)</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>
![]() |
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 <regex>
|
||
template< class BidirIt, class Alloc > bool operator==( match_results<BidirIt,Alloc>& lhs, |
(1) | (desde C++11) |
template< class BidirIt, class Alloc > bool operator!=( match_results<BidirIt,Alloc>& lhs, |
(2) | (desde C++11) |
match_results
.match_results
objects.You can help to correct and verify the translation. Click here for instructions.
match_results
são iguais se as seguintes condições forem atendidas:match_results
are equal if the following conditions are met:You can help to correct and verify the translation. Click here for instructions.
- nenhum dos objetos é pronto, ouOriginal:neither of the objects is ready, orThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - ambos os resultados dos jogos são pronto e as seguintes condições forem atendidas:Original:both match results are ready and the following conditions are met:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
- lhs.empty() and rhs.empty(), or
- !lhs.empty() e !rhs.empty() e as seguintes condições forem atendidas:Original:!lhs.empty() and !rhs.empty() and the following conditions are met:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
- lhs.prefix() == rhs.prefix()
- std::equal(lhs.begin(), lhs.end(), rhs.begin())
- lhs.suffix() == rhs.suffix()
lhs
e rhs são iguais.lhs
and rhs are equal.You can help to correct and verify the translation. Click here for instructions.
lhs
e rhs não são iguais.lhs
and rhs are not equal.You can help to correct and verify the translation. Click here for instructions.
Índice |
[editar] Parâmetros
lhs, rhs | - | combinar os resultados para comparar
Original: match results to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Type requirements | ||
-BidirIt must meet the requirements of BidirectionalIterator .
| ||
-Alloc must meet the requirements of Allocator .
|
[editar] Valor de retorno
lhs
e rhs
são iguais, caso contrário false.lhs
and rhs
are equal, false otherwise.You can help to correct and verify the translation. Click here for instructions.
lhs
e rhs
não são iguais, caso contrário false.lhs
and rhs
are not equal, false otherwise.You can help to correct and verify the translation. Click here for instructions.
[editar] Exceções
You can help to correct and verify the translation. Click here for instructions.
[editar] Exemplo
Esta seção está incompleta Motivo: sem exemplo |