59#pragma GCC system_header
74#define __glibcxx_want_allocator_traits_is_always_equal
75#define __glibcxx_want_containers_ranges
76#define __glibcxx_want_erase_if
77#define __glibcxx_want_generic_associative_lookup
78#define __glibcxx_want_node_extract
79#define __glibcxx_want_nonmember_container_access
80#define __glibcxx_want_associative_heterogeneous_erasure
83#if __cplusplus >= 201703L
85namespace std _GLIBCXX_VISIBILITY(default)
87_GLIBCXX_BEGIN_NAMESPACE_VERSION
90 template<
typename _Key,
typename _Cmp = std::less<_Key>>
91 using set = std::set<_Key, _Cmp, polymorphic_allocator<_Key>>;
92 template<
typename _Key,
typename _Cmp = std::less<_Key>>
93 using multiset = std::multiset<_Key, _Cmp, polymorphic_allocator<_Key>>;
95_GLIBCXX_END_NAMESPACE_VERSION
99#ifdef __cpp_lib_erase_if
100namespace std _GLIBCXX_VISIBILITY(default)
102_GLIBCXX_BEGIN_NAMESPACE_VERSION
103 template<
typename _Key,
typename _Compare,
typename _Alloc,
105 inline typename _GLIBCXX_STD_C::set<_Key, _Compare, _Alloc>::size_type
106 erase_if(_GLIBCXX_STD_C::set<_Key, _Compare, _Alloc>& __cont,
108 {
return __detail::__erase_nodes_if(__cont, __cont, __pred); }
110 template<
typename _Key,
typename _Compare,
typename _Alloc,
112 inline typename _GLIBCXX_STD_C::multiset<_Key, _Compare, _Alloc>::size_type
113 erase_if(_GLIBCXX_STD_C::multiset<_Key, _Compare, _Alloc>& __cont,
115 {
return __detail::__erase_nodes_if(__cont, __cont, __pred); }
116_GLIBCXX_END_NAMESPACE_VERSION
ISO C++ entities toplevel namespace is std.