29 #ifndef _GLIBCXX_EXPERIMENTAL_UNORDERED_MAP 30 #define _GLIBCXX_EXPERIMENTAL_UNORDERED_MAP 1 32 #pragma GCC system_header 34 #if __cplusplus >= 201402L 40 namespace std _GLIBCXX_VISIBILITY(default)
42 namespace experimental
44 inline namespace fundamentals_v2
46 _GLIBCXX_BEGIN_NAMESPACE_VERSION
48 template<
typename _Key,
typename _Tp,
typename _Hash,
typename _CPred,
49 typename _Alloc,
typename _Predicate>
51 erase_if(unordered_map<_Key, _Tp, _Hash, _CPred, _Alloc>& __cont,
53 { __detail::__erase_nodes_if(__cont, __pred); }
55 template<
typename _Key,
typename _Tp,
typename _Hash,
typename _CPred,
56 typename _Alloc,
typename _Predicate>
58 erase_if(unordered_multimap<_Key, _Tp, _Hash, _CPred, _Alloc>& __cont,
60 { __detail::__erase_nodes_if(__cont, __pred); }
62 _GLIBCXX_END_NAMESPACE_VERSION
65 _GLIBCXX_BEGIN_NAMESPACE_VERSION
67 template<
typename _Key,
typename _Tp,
typename _Hash = hash<_Key>,
68 typename _Pred = equal_to<_Key>>
71 polymorphic_allocator<pair<const _Key, _Tp>>>;
73 template<
typename _Key,
typename _Tp,
typename _Hash = hash<_Key>,
74 typename _Pred = equal_to<_Key>>
75 using unordered_multimap
77 polymorphic_allocator<pair<const _Key, _Tp>>>;
79 _GLIBCXX_END_NAMESPACE_VERSION
88 #endif // _GLIBCXX_EXPERIMENTAL_UNORDERED_MAP
A standard container composed of unique keys (containing at most one of each key value) that associat...
ISO C++ entities toplevel namespace is std.
A standard container composed of equivalent keys (possibly containing multiple of each key value) tha...