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

std::unordered_map cppreference.com
cppreference.com
Espaces de noms
Variantes

std::unordered_map

De cppreference.com


 
 
 
std::unordered_map
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_map::unordered_map
unordered_map::~unordered_map
unordered_map::operator=
unordered_map::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_map::begin
unordered_map::cbegin
unordered_map::end
unordered_map::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_map::erase
unordered_map::size
unordered_map::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_map::clear
unordered_map::insert
unordered_map::emplace
unordered_map::emplace_hint
unordered_map::erase
unordered_map::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_map::count
unordered_map::find
unordered_map::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_map::begin2
unordered_map::end2
unordered_map::bucket_count
unordered_map::max_bucket_count
unordered_map::bucket_size
unordered_map::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_map::load_factor
unordered_map::max_load_factor
unordered_map::rehash
unordered_map::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_map::hash_function
unordered_map::key_eq
 
<tbody> </tbody>
Dclar dans l'en-tte <unordered_map>
template< class Key, class T, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< std::pair<const Key, T> > > class unordered_map;
(depuis C++11)

Unordered map (map non-ordonne) est un conteneur associatif non ordonn qui contient des paires cl-valeur avec des cls uniques. La recherche, l'insertion et la suppression ont une complexit moyenne en temps constant amorti.

std::unordered_map respecte les concepts de Container, AllocatorAwareContainer et UnorderedAssociativeContainer.

Types membres

Type membre Dfinition
key_type Key [edit]
mapped_type T [edit]
value_type std::pair<const Key, T> [edit]
size_type Type intgral non sign (gnralement size_t)[edit]
difference_type Type intgral sign (gnralement ptrdiff_t) [edit]
hasher Hash [edit]
key_equal KeyEqual [edit]
allocator_type Allocator [edit]
reference value_type& [edit]
const_reference const value_type& [edit]
pointer std::allocator_traits<Allocator>::pointer [edit]
const_pointer std::allocator_traits<Allocator>::const_pointer [edit]
iterator ForwardIterator [edit]
const_iterator Itrateur constant vers l'avant[edit]
local_iterator
Un itrateur de type dont la catgorie, la valeur, la diffrence, pointeur types rfrence and
sont les mmes que iterator. Cette iterator
peut tre utilis pour parcourir un seul seau, mais pas dans des seaux
Original:
An iterator type whose category, value, difference, pointer and
reference types are the same as iterator. This iterator
can be used to iterate through a single bucket but not across buckets
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[edit]
const_local_iterator Un type d'itrateur dont le type de la catgorie, de la valeur, de la diffrence, du pointeur et de la rfrence sont les mmes que les const_iterator. Cet itrateur peut tre utilis pour parcourir un paquet mais pas plusieurs.[edit]

Fonctions membres

Construit le unordered_map
(fonction membre publique) [edit]
dtruit le unordered_map
(fonction membre publique) [edit]
Attribue les valeurs dans le conteneur
(fonction membre publique) [edit]

Renvoie l'allocateur associ
(fonction membre publique) [edit]

Itrateurs
retourne un itrateur au dbut
Original:
returns an iterator to the beginning
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
retourne un itrateur la fin
Original:
returns an iterator to the end
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
Capacit
vrifie si le conteneur est vide
Original:
checks whether the container is empty
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
retourne le nombre d'lments
Original:
returns the number of elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
retourne le plus grand nombre possible d'lments
Original:
returns the maximum possible number of elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
Modificateurs
efface le contenu
Original:
clears the contents
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
insre des lments
Original:
inserts elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
construit des lments en mmoire
(fonction membre publique) [edit]
construit lments en place en utilisant un indice
Original:
constructs elements in-place using a hint
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
efface des lments
(fonction membre publique) [edit]
permute les contenus
Original:
swaps the contents
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
Accs en lecture
accde l'lment spcifi avec vrification de bornes
(fonction membre publique) [edit]
accde l'lment spcifi
(fonction membre publique) [edit]
retourne le nombre d'lments correspondant la cl spcifie
Original:
returns the number of elements matching specific key
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
trouve l'lment avec la cl spcifique
Original:
finds element with specific key
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
rendements varient d'lments correspondant une cl spcifique
Original:
returns range of elements matching a specific key
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
Interface emplacement
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.
retourne un itrateur pour le dbut de la benne spcifi
Original:
returns an iterator to the beginning of the specified bucket
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
retourne un itrateur l'extrmit du godet spcifi
Original:
returns an iterator to the end of the specified bucket
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
retourne le nombre de seaux
Original:
returns the number of buckets
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
returns the maximum number of buckets
(fonction membre publique) [edit]
retourne le nombre d'lments de godet spcifique
Original:
returns the number of elements in specific bucket
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
retourne le seau pour cl spcifique
Original:
returns the bucket for specific key
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
Politique de hachage
retourne le nombre moyen d'lments par seau
Original:
returns average number of elements per bucket
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
gre le nombre moyen maximum d'lments par paquet
(fonction membre publique) [edit]
rserve au moins le nombre spcifi de buckets.
This rgnre la table de hachage .
Original:
reserves at least the specified number of buckets.
This regenerates the hash table.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
rserve de l'espace mmoire pour au moins le nombre spcifi d'elements.
Cela rgnre la table de hachage.
(fonction membre publique) [edit]
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.
retours fonctionner de hachage utilise pour les touches
Original:
returns function used to hash the keys
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]
renvoie la fonction utilise pour comparer les cls pour l'galit
Original:
returns the function used to compare keys for equality
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]

Fonctions tiers

compare les valeurs de la unordered_map
Original:
compares the values in the unordered_map
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction gnrique) [edit]
l'algorithme spcialis std::swap
Original:
specializes the std::swap algorithm
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction gnrique) [edit]

Web Proxy Viewer  |  New URL  |  Original Page