29#ifndef _GLIBCXX_UNORDERED_MAP
30#define _GLIBCXX_UNORDERED_MAP 1
32#pragma GCC system_header
36#if __cplusplus < 201103L
49#if __cplusplus >= 201703L
51namespace std _GLIBCXX_VISIBILITY(default)
53_GLIBCXX_BEGIN_NAMESPACE_VERSION
56 template<
typename _Key,
typename _Tp,
typename _Hash = std::hash<_Key>,
57 typename _Pred = std::equal_to<_Key>>
60 polymorphic_allocator<pair<const _Key, _Tp>>>;
61 template<
typename _Key,
typename _Tp,
typename _Hash = std::hash<_Key>,
62 typename _Pred = std::equal_to<_Key>>
63 using unordered_multimap
65 polymorphic_allocator<pair<const _Key, _Tp>>>;
67_GLIBCXX_END_NAMESPACE_VERSION
71#if __cplusplus > 201703L
72namespace std _GLIBCXX_VISIBILITY(default)
74_GLIBCXX_BEGIN_NAMESPACE_VERSION
75 template<
typename _Key,
typename _Tp,
typename _Hash,
typename _CPred,
76 typename _Alloc,
typename _Predicate>
78 erase_if(unordered_map<_Key, _Tp, _Hash, _CPred, _Alloc>&
__cont,
81 const _GLIBCXX_STD_C::unordered_map<_Key, _Tp, _Hash, _CPred, _Alloc>&
83 return __detail::__erase_nodes_if(
__cont, __ucont, __pred);
86 template<
typename _Key,
typename _Tp,
typename _Hash,
typename _CPred,
87 typename _Alloc,
typename _Predicate>
88 inline typename unordered_multimap<_Key, _Tp, _Hash, _CPred, _Alloc>::
90 erase_if(unordered_multimap<_Key, _Tp, _Hash, _CPred, _Alloc>&
__cont,
93 const _GLIBCXX_STD_C::unordered_multimap<_Key, _Tp, _Hash, _CPred, _Alloc>&
95 return __detail::__erase_nodes_if(
__cont, __ucont, __pred);
97_GLIBCXX_END_NAMESPACE_VERSION
ISO C++ entities toplevel namespace is std.
A standard container composed of equivalent keys (possibly containing multiple of each key value) tha...
A standard container composed of unique keys (containing at most one of each key value) that associat...
_Hashtable::size_type size_type
Iterator-related typedefs.