30 #ifndef _GLIBCXX_EXPERIMENTAL_UNORDERED_MAP
31 #define _GLIBCXX_EXPERIMENTAL_UNORDERED_MAP 1
33 #pragma GCC system_header
35 #if __cplusplus >= 201402L
41 namespace std _GLIBCXX_VISIBILITY(default)
43 _GLIBCXX_BEGIN_NAMESPACE_VERSION
45 namespace experimental
47 inline namespace fundamentals_v2
49 template<
typename _Key,
typename _Tp,
typename _Hash,
typename _CPred,
50 typename _Alloc,
typename _Predicate>
52 erase_if(unordered_map<_Key, _Tp, _Hash, _CPred, _Alloc>& __cont,
55 const _GLIBCXX_STD_C::unordered_map<_Key, _Tp, _Hash, _CPred, _Alloc>&
57 std::__detail::__erase_nodes_if(__cont, __ucont, __pred);
60 template<
typename _Key,
typename _Tp,
typename _Hash,
typename _CPred,
61 typename _Alloc,
typename _Predicate>
63 erase_if(unordered_multimap<_Key, _Tp, _Hash, _CPred, _Alloc>& __cont,
66 const _GLIBCXX_STD_C::unordered_multimap<_Key, _Tp, _Hash, _CPred, _Alloc>&
68 std::__detail::__erase_nodes_if(__cont, __ucont, __pred);
72 template<
typename _Key,
typename _Tp,
typename _Hash = hash<_Key>,
73 typename _Pred = equal_to<_Key>>
76 polymorphic_allocator<pair<const _Key, _Tp>>>;
78 template<
typename _Key,
typename _Tp,
typename _Hash = hash<_Key>,
79 typename _Pred = equal_to<_Key>>
80 using unordered_multimap
82 polymorphic_allocator<pair<const _Key, _Tp>>>;
88 _GLIBCXX_END_NAMESPACE_VERSION
93 #endif // _GLIBCXX_EXPERIMENTAL_UNORDERED_MAP
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...