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>
Aus cppreference.com
|
|
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. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <regex>
|
||
template< class BidirIt, class Alloc > bool operator==( match_results<BidirIt,Alloc>& lhs, match_results<BidirIt,Alloc>& rhs ); |
(1) | (seit C++11) |
template< class BidirIt, class Alloc > bool operator!=( match_results<BidirIt,Alloc>& lhs, match_results<BidirIt,Alloc>& rhs ); |
(2) | (seit C++11) |
Vergleicht zwei
match_results Objekte .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.
Zwei
match_results sind gleich, wenn die folgenden Bedingungen erfüllt sind: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.
- keines der Objekte ist bereit, oderOriginal: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. - beide Spielergebnisse sind bereit und die folgenden Bedingungen erfüllt sind: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()und!rhs.empty()und die folgenden Bedingungen erfüllt sind: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)
Prüft, ob
lhs und rhs gleich .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)
Prüft, ob
lhs und rhs sind nicht gleich .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.
Parameter
| lhs, rhs | - | Spiel Ergebnisse zu vergleichen
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.
| ||
Rückgabewert
1)
true wenn lhs und rhs gleich sind, false sonst .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 wenn lhs und rhs nicht gleich sind, false sonst .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.
Ausnahmen
(None)
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.
Beispiel
| This section is incomplete Reason: no example |