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>
Da cppreference.com.
|
|
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. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <regex>
|
||
template< class BidirIt, class Alloc > bool operator==( match_results<BidirIt,Alloc>& lhs, match_results<BidirIt,Alloc>& rhs ); |
(1) | (dal C++11) |
template< class BidirIt, class Alloc > bool operator!=( match_results<BidirIt,Alloc>& lhs, match_results<BidirIt,Alloc>& rhs ); |
(2) | (dal C++11) |
Confronta due oggetti
match_results.Original:
Compares two
match_results 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.
Due
match_results sono uguali se le seguenti condizioni sono soddisfatte:Original:
Two
match_results are equal if 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.
You can help to correct and verify the translation. Click here for instructions.
- nessuno dei due oggetti è pronto, oOriginal: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. - entrambi i risultati delle partite sono pronti e le seguenti condizioni: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()andrhs.empty(), or!lhs.empty()e!rhs.empty()e le seguenti condizioni: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()
1)
Verifica se
lhs e rhs sono uguali.Original:
Checks if
lhs and rhs are equal.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
lhs e rhs non sono uguali.Original:
Checks if
lhs and rhs are not equal.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.
Parametri
| lhs, rhs | - | risultati delle partite da confrontare
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.
|
Valore di ritorno
1)
true se lhs e rhs sono uguali, altrimenti false.Original:
true if lhs and rhs are equal, 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 lhs e rhs non sono uguali, altrimenti false.Original:
true if lhs and rhs are not equal, 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.
Eccezioni
(Nessuno)
Original:
(none)
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.
Esempio
| This section is incomplete Reason: no example |