56 #define _GLIBCXX_SET 1 58 #ifdef _GLIBCXX_SYSHDR 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 81 #define __glibcxx_want_associative_heterogeneous_insertion 84 #if __cplusplus >= 201703L 86 namespace std _GLIBCXX_VISIBILITY(default)
88 _GLIBCXX_BEGIN_NAMESPACE_VERSION
91 template<
typename _Key,
typename _Cmp = std::less<_Key>>
93 template<
typename _Key,
typename _Cmp = std::less<_Key>>
96 _GLIBCXX_END_NAMESPACE_VERSION
100 #ifdef __cpp_lib_erase_if // C++ >= 20 && HOSTED 101 namespace std _GLIBCXX_VISIBILITY(default)
103 _GLIBCXX_BEGIN_NAMESPACE_VERSION
104 template<
typename _Key,
typename _Compare,
typename _Alloc,
106 inline typename _GLIBCXX_STD_C::set<_Key, _Compare, _Alloc>::size_type
107 erase_if(_GLIBCXX_STD_C::set<_Key, _Compare, _Alloc>&
__cont,
109 {
return __detail::__erase_nodes_if(__cont, __cont, __pred); }
111 template<
typename _Key,
typename _Compare,
typename _Alloc,
113 inline typename _GLIBCXX_STD_C::multiset<_Key, _Compare, _Alloc>::size_type
114 erase_if(_GLIBCXX_STD_C::multiset<_Key, _Compare, _Alloc>&
__cont,
116 {
return __detail::__erase_nodes_if(__cont, __cont, __pred); }
117 _GLIBCXX_END_NAMESPACE_VERSION
119 #endif // __cpp_lib_erase_if
ISO C++ entities toplevel namespace is std.
A standard container made up of unique keys, which can be retrieved in logarithmic time...
A standard container made up of elements, which can be retrieved in logarithmic time.