Files
cppdraft_translate/cppdraft/deque/syn.md
2025-10-25 03:02:53 +03:00

1.4 KiB

[deque.syn]

23 Containers library [containers]

23.3 Sequence containers [sequences]

23.3.4 Header synopsis [deque.syn]

🔗

#include // see [compare.syn]#include <initializer_list> // see [initializer.list.syn]namespace std {// [deque], class template dequetemplate<class T, class Allocator = allocator> class deque; template<class T, class Allocator>constexpr bool operator==(const deque<T, Allocator>& x, const deque<T, Allocator>& y); template<class T, class Allocator>constexpr synth-three-way-result operator<=>(const deque<T, Allocator>& x, const deque<T, Allocator>& y); template<class T, class Allocator>constexpr void swap(deque<T, Allocator>& x, deque<T, Allocator>& y)noexcept(noexcept(x.swap(y))); // [deque.erasure], erasuretemplate<class T, class Allocator, class U = T>constexpr typename deque<T, Allocator>::size_type erase(deque<T, Allocator>& c, const U& value); template<class T, class Allocator, class Predicate>constexpr typename deque<T, Allocator>::size_type erase_if(deque<T, Allocator>& c, Predicate pred); namespace pmr {templateusing deque = std::deque<T, polymorphic_allocator>; }}