Inherits __umap_hashtable< _Key, _Tp, _Hash, _Pred, _Alloc >.
List of all members.
Public Types
-
typedef _Base::allocator_type allocator_type
-
typedef _Base::hasher hasher
-
typedef _Base::key_equal key_equal
-
typedef _Base::size_type size_type
-
typedef _Base::value_type value_type
Public Member Functions
-
unordered_map (size_type __n=10, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())
-
template<typename _InputIterator > unordered_map (_InputIterator __f, _InputIterator __l, size_type __n=0, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())
-
unordered_map (initializer_list< value_type > __l, size_type __n=0, const hasher &__hf=hasher(), const key_equal &__eql=key_equal(), const allocator_type &__a=allocator_type())
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.
- Template Parameters:
-
| _Key | Type of key objects. |
| _Tp | Type of mapped objects. |
| _Hash | Hashing function object type, defaults to hash<_Value>. |
| _Pred | Predicate function object type, defaults to equal_to<_Value>. |
| _Alloc | Allocator type, defaults to allocator<_Key>. |
Meets the requirements of a container, and unordered associative container
The resulting value type of the container is std::pair<const _Key, _Tp>.
Base is _Hashtable, dispatched at compile time via template alias __umap_hashtable.
Definition at line 99 of file unordered_map.h.
The documentation for this class was generated from the following file: