Files
2025-10-25 03:02:53 +03:00

1.4 KiB

[hive.syn]

23 Containers library [containers]

23.3 Sequence containers [sequences]

23.3.8 Header synopsis [hive.syn]

🔗

#include <initializer_list> // see [initializer.list.syn]#include // see [compare.syn]namespace std {struct hive_limits { size_t min; size_t max; constexpr hive_limits(size_t minimum, size_t maximum) noexcept: min(minimum), max(maximum) {}}; // [hive], class template hivetemplate<class T, class Allocator = allocator> class hive; template<class T, class Allocator>void swap(hive<T, Allocator>& x, hive<T, Allocator>& y)noexcept(noexcept(x.swap(y))); template<class T, class Allocator, class U = T>typename hive<T, Allocator>::size_type erase(hive<T, Allocator>& c, const U& value); template<class T, class Allocator, class Predicate>typename hive<T, Allocator>::size_type erase_if(hive<T, Allocator>& c, Predicate pred); namespace pmr {templateusing hive = std::hive<T, polymorphic_allocator>; }}