29#ifndef _GLIBCXX_UNORDERED_MAP
30#define _GLIBCXX_UNORDERED_MAP 1
33#pragma GCC system_header
38#if __cplusplus < 201103L
51#define __glibcxx_want_allocator_traits_is_always_equal
52#define __glibcxx_want_erase_if
53#define __glibcxx_want_generic_unordered_lookup
54#define __glibcxx_want_node_extract
55#define __glibcxx_want_nonmember_container_access
56#define __glibcxx_want_unordered_map_try_emplace
57#define __glibcxx_want_tuple_like
60#if __cplusplus >= 201703L
62namespace std _GLIBCXX_VISIBILITY(default)
64_GLIBCXX_BEGIN_NAMESPACE_VERSION
67 template<
typename _Key,
typename _Tp,
typename _Hash = std::hash<_Key>,
68 typename _Pred = std::equal_to<_Key>>
71 polymorphic_allocator<pair<const _Key, _Tp>>>;
72 template<
typename _Key,
typename _Tp,
typename _Hash = std::hash<_Key>,
73 typename _Pred = std::equal_to<_Key>>
74 using unordered_multimap
76 polymorphic_allocator<pair<const _Key, _Tp>>>;
78_GLIBCXX_END_NAMESPACE_VERSION
82#if __cplusplus > 201703L
83namespace std _GLIBCXX_VISIBILITY(default)
85_GLIBCXX_BEGIN_NAMESPACE_VERSION
86 template<
typename _Key,
typename _Tp,
typename _Hash,
typename _CPred,
87 typename _Alloc,
typename _Predicate>
89 erase_if(unordered_map<_Key, _Tp, _Hash, _CPred, _Alloc>&
__cont,
92 _GLIBCXX_STD_C::unordered_map<_Key, _Tp, _Hash, _CPred, _Alloc>&
94 return __detail::__erase_nodes_if(
__cont, __ucont, __pred);
97 template<
typename _Key,
typename _Tp,
typename _Hash,
typename _CPred,
98 typename _Alloc,
typename _Predicate>
99 inline typename unordered_multimap<_Key, _Tp, _Hash, _CPred, _Alloc>::
101 erase_if(unordered_multimap<_Key, _Tp, _Hash, _CPred, _Alloc>&
__cont,
104 _GLIBCXX_STD_C::unordered_multimap<_Key, _Tp, _Hash, _CPred, _Alloc>&
106 return __detail::__erase_nodes_if(
__cont, __ucont, __pred);
108_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.