[ Web Proxy ]
URL:
Viewing: https://fr.cppreference.com/cpp/container/unordered_set/operator_cmp [Back]  [Original]

operator=,!=(std::unordered_set) cppreference.com
cppreference.com
Espaces de noms
Variantes

operator=,!=(std::unordered_set)

De cppreference.com

<metanoindex/>

 
 
 
std :: unordered_set
Les fonctions membres
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::unordered_set
unordered_set::~unordered_set
unordered_set::operator=
unordered_set::get_allocator
Les itrateurs
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::begin
unordered_set::cbegin
unordered_set::end
unordered_set::cend
Capacit
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::erase
unordered_set::size
unordered_set::max_size
Modificateurs
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::clear
unordered_set::insert
unordered_set::emplace
unordered_set::emplace_hint
unordered_set::erase
unordered_set::swap
Lookup
Original:
Lookup
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::count
unordered_set::find
unordered_set::equal_range
Interface seau
Original:
Bucket interface
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::begin2
unordered_set::end2
unordered_set::bucket_count
unordered_set::max_bucket_count
unordered_set::bucket_size
unordered_set::bucket
Politique de hachage
Original:
Hash policy
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::load_factor
unordered_set::max_load_factor
unordered_set::rehash
unordered_set::reserve
Des observateurs
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::hash_function
unordered_set::key_eq
 
<tbody> </tbody>
template< class Key, class Hash, class KeyEqual, class Allocator > void operator=( unordered_set<Key,Hash,KeyEqual,Allocator> &lhs, unordered_set<Key,Hash,KeyEqual,Allocator> &rhs);
(1)
template< class Key, class Hash, class KeyEqual, class Allocator > void operator!=( unordered_set<Key,Hash,KeyEqual,Allocator> &lhs, unordered_set<Key,Hash,KeyEqual,Allocator> &rhs);
(2)
Compare le contenu de deux conteneurs non ordonne .
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.
Le contenu de deux conteneurs non ordonne lhs et rhs sont quivalentes si les conditions suivantes sont vrifies:
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.
  • lhs.size() == rhs.size()
  • chaque groupe de touches quivalentes [lhs_eq1, lhs_eq2) a un groupe correspondant de touches quivalentes dans le [rhs_eq1, rhs_eq2) autre rcipient, qui a les proprits suivantes:
    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.

Paramtres

lhs, rhs -
non ordonne conteneurs comparer
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.

Retourne la valeur

1)

true si le contenu des conteneurs sont quivalentes, sinon false
Original:
true if the contents of the containers are equivalent, false otherwise
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

2)

true si le contenu des rcipients ne sont pas quivalentes, false contraire
Original:
true if the contents of the containers are not equivalent, false otherwise
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Complexit

N comparisons of the keys in the average case, N2 in the worst case, where N is the size of the container.


Web Proxy Viewer  |  New URL  |  Original Page