30 #ifndef _GLIBCXX_EXPERIMENTAL_UNORDERED_MAP
31 #define _GLIBCXX_EXPERIMENTAL_UNORDERED_MAP 1
33 #ifdef _GLIBCXX_SYSHDR
34 #pragma GCC system_header
39 #if __cplusplus >= 201402L
45 namespace std _GLIBCXX_VISIBILITY(default)
47 _GLIBCXX_BEGIN_NAMESPACE_VERSION
49 namespace experimental
51 inline namespace fundamentals_v2
53 template<
typename _Key,
typename _Tp,
typename _Hash,
typename _CPred,
54 typename _Alloc,
typename _Predicate>
56 erase_if(unordered_map<_Key, _Tp, _Hash, _CPred, _Alloc>&
__cont,
59 _GLIBCXX_STD_C::unordered_map<_Key, _Tp, _Hash, _CPred, _Alloc>&
61 std::__detail::__erase_nodes_if(
__cont, __ucont, __pred);
64 template<
typename _Key,
typename _Tp,
typename _Hash,
typename _CPred,
65 typename _Alloc,
typename _Predicate>
67 erase_if(unordered_multimap<_Key, _Tp, _Hash, _CPred, _Alloc>&
__cont,
70 _GLIBCXX_STD_C::unordered_multimap<_Key, _Tp, _Hash, _CPred, _Alloc>&
72 std::__detail::__erase_nodes_if(
__cont, __ucont, __pred);
76 template<
typename _Key,
typename _Tp,
typename _Hash = hash<_Key>,
77 typename _Pred = equal_to<_Key>>
80 polymorphic_allocator<pair<const _Key, _Tp>>>;
82 template<
typename _Key,
typename _Tp,
typename _Hash = hash<_Key>,
83 typename _Pred = equal_to<_Key>>
84 using unordered_multimap
86 polymorphic_allocator<pair<const _Key, _Tp>>>;
92 _GLIBCXX_END_NAMESPACE_VERSION
97 #endif // _GLIBCXX_EXPERIMENTAL_UNORDERED_MAP