29 #ifndef _GLIBCXX_EXPERIMENTAL_UNORDERED_MAP
30 #define _GLIBCXX_EXPERIMENTAL_UNORDERED_MAP 1
32 #pragma GCC system_header
34 #if __cplusplus <= 201103L
42 namespace std _GLIBCXX_VISIBILITY(default)
44 namespace experimental
46 inline namespace fundamentals_v2
48 _GLIBCXX_BEGIN_NAMESPACE_VERSION
50 template<
typename _Key,
typename _Tp,
typename _Hash,
typename _CPred,
51 typename _Alloc,
typename _Predicate>
53 erase_if(unordered_map<_Key, _Tp, _Hash, _CPred, _Alloc>& __cont,
55 { __detail::__erase_nodes_if(__cont, __pred); }
57 template<
typename _Key,
typename _Tp,
typename _Hash,
typename _CPred,
58 typename _Alloc,
typename _Predicate>
60 erase_if(unordered_multimap<_Key, _Tp, _Hash, _CPred, _Alloc>& __cont,
62 { __detail::__erase_nodes_if(__cont, __pred); }
64 _GLIBCXX_END_NAMESPACE_VERSION
67 _GLIBCXX_BEGIN_NAMESPACE_VERSION
69 template<
typename _Key,
typename _Tp,
typename _Hash = hash<_Key>,
70 typename _Pred = equal_to<_Key>>
73 polymorphic_allocator<pair<const _Key, _Tp>>>;
75 template<
typename _Key,
typename _Tp,
typename _Hash = hash<_Key>,
76 typename _Pred = equal_to<_Key>>
77 using unordered_multimap
79 polymorphic_allocator<pair<const _Key, _Tp>>>;
81 _GLIBCXX_END_NAMESPACE_VERSION
90 #endif // _GLIBCXX_EXPERIMENTAL_UNORDERED_MAP
A standard container composed of unique keys (containing at most one of each key value) that associat...
A standard container composed of equivalent keys (possibly containing multiple of each key value) tha...