libstdc++
std::unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc > Class Template Reference

Inherits std::__unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc, __cache_hash_code >.

List of all members.

Public Types

Public Member Functions

Protected Types

Protected Member Functions

Friends


Detailed Description

template<class _Key, class _Tp, class _Hash = hash<_Key>, class _Pred = std::equal_to<_Key>, class _Alloc = std::allocator<std::pair<const _Key, _Tp> >>
class std::unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc >

A standard container composed of unique keys (containing at most one of each key value) that associates values of another type with the keys.

Meets the requirements of a container, and unordered associative container

Parameters:
KeyType of key objects.
TpType of mapped objects.
HashHashing function object type, defaults to hash<Value>.
PredPredicate function object type, defaults to equal_to<Value>.
AllocAllocator type, defaults to allocator<Key>.

The resulting value type of the container is std::pair<const Key, Tp>.

Definition at line 262 of file unordered_map.h.


The documentation for this class was generated from the following file: