operator=,!=(std::unordered_multiset)
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> template< class Key, class Hash, class KeyEqual, class Allocator > void operator=( unordered_multiset<Key,Hash,KeyEqual,Allocator> &lhs, unordered_multiset<Key,Hash,KeyEqual,Allocator> &rhs); |
(1) | |
template< class Key, class Hash, class KeyEqual, class Allocator > void operator!=( unordered_multiset<Key,Hash,KeyEqual,Allocator> &lhs, unordered_multiset<Key,Hash,KeyEqual,Allocator> &rhs); |
(2) | |
Confronta il contenuto di due contenitori non ordinata.
Original:
Compares the contents of two unordered containers.
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.
Il contenuto di due contenitori non ordinata
lhs e rhs sono equivalenti se le seguenti condizioni contenere:Original:
The contents of two unordered containers
lhs and rhs are equivalent if the following conditions hold: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.
lhs.size() == rhs.size()- ogni gruppo di tasti equivalenti
[lhs_eq1, lhs_eq2)ha un corrispondente gruppo di tasti equivalenti della[rhs_eq1, rhs_eq2)altro contenitore, che ha le seguenti proprietà:Original:each group of equivalent keys[lhs_eq1, lhs_eq2)has a corresponding group of equivalent keys in the other container[rhs_eq1, rhs_eq2), that has the following properties:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::distance(lhs_eq1, lhs_eq2) == std::distance(rhs_eq1, rhs_eq2).std::is_permutation(lhs_eq1, lhs_eq2, rhs_eq1) == true.
Parametri
| lhs, rhs | - | non ordinato contenitori da confrontare
Original: unordered containers to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Valore di ritorno
1)
true se il contenuto dei contenitori sono equivalenti, false altrimentiOriginal:
true if the contents of the containers are equivalent, false otherwiseThe 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 il contenuto dei contenitori non sono equivalenti, false altrimentiOriginal:
true if the contents of the containers are not equivalent, false otherwiseThe 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.
Complessità
ΣSi2 comparisons of the keys in the average case, where S is the size of the ith equivalent key group. N2 comparisons of the keys in the worst case, where N is the size of the container.