Espacios de nombres
Variantes
Acciones

operator=,!=(std::unordered_map)

De cppreference.com

 
 
 
std::unordered_map
Las funciones miembro
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.
Los iteradores
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Capacidad
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Modificadores
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Buscar
Original:
Lookup
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Bucket interfaz
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.
Política Hash
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.
Los observadores
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
template< class Key, class T, class Hash, class KeyEqual, class Allocator >

void operator=( unordered_map<Key,T,Hash,KeyEqual,Allocator> &lhs,

                unordered_map<Key,T,Hash,KeyEqual,Allocator> &rhs);
(1)
template< class Key, class T, class Hash, class KeyEqual, class Allocator >

void operator!=( unordered_map<Key,T,Hash,KeyEqual,Allocator> &lhs,

                 unordered_map<Key,T,Hash,KeyEqual,Allocator> &rhs);
(2)
Compara el contenido de dos contenedores desordenada .
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.
Los contenidos de los dos recipientes lhs desordenada y rhs son equivalentes si cumplen las siguientes condiciones:
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()
  • cada grupo de teclas equivalentes [lhs_eq1, lhs_eq2) tiene un grupo correspondiente de claves equivalentes en el [rhs_eq1, rhs_eq2) otro recipiente, que tiene las siguientes propiedades:
    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.

[editar] Parámetros

lhs, rhs -
desordenada contenedores para comparar
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.

[editar] Valor de retorno

1)
true si los contenidos de los recipientes son equivalentes, false lo contrario
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 el contenido de los recipientes no son equivalentes, false lo contrario
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.

[editar] Complejidad

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