56#define _GLIBCXX_DEQUE 1
59#pragma GCC system_header
72#define __glibcxx_want_algorithm_default_value_type
73#define __glibcxx_want_allocator_traits_is_always_equal
74#define __glibcxx_want_containers_ranges
75#define __glibcxx_want_erase_if
76#define __glibcxx_want_nonmember_container_access
83#if __cplusplus >= 201703L
85namespace std _GLIBCXX_VISIBILITY(default)
87_GLIBCXX_BEGIN_NAMESPACE_VERSION
90 template<
typename _Tp>
91 using deque = std::deque<_Tp, polymorphic_allocator<_Tp>>;
93_GLIBCXX_END_NAMESPACE_VERSION
97#ifdef __cpp_lib_erase_if
98namespace std _GLIBCXX_VISIBILITY(default)
100_GLIBCXX_BEGIN_NAMESPACE_VERSION
102 template<
typename _Tp,
typename _Alloc,
typename _Predicate>
103 inline typename deque<_Tp, _Alloc>::size_type
106 using namespace __gnu_cxx;
107 _GLIBCXX_STD_C::deque<_Tp, _Alloc>& __ucont = __cont;
108 const auto __osz = __cont.size();
109 const auto __end = __ucont.end();
110 auto __removed = std::__remove_if(__ucont.begin(), __end,
112 if (__removed != __end)
114 __cont.erase(__niter_wrap(__cont.begin(), __removed),
116 return __osz - __cont.size();
122 template<
typename _Tp,
typename _Alloc,
123 typename _Up _GLIBCXX26_DEF_VAL_T(_Tp)>
124 inline typename deque<_Tp, _Alloc>::size_type
126 {
return std::erase_if(__cont, __gnu_cxx::__ops::__equal_to(__value)); }
128_GLIBCXX_END_NAMESPACE_VERSION
constexpr std::remove_reference< _Tp >::type && move(_Tp &&__t) noexcept
Convert a value to an rvalue.
ISO C++ entities toplevel namespace is std.
A standard container using fixed-size memory allocation and constant-time manipulation of elements at...