Namespaces
Variants

std::deque<T,Allocator>:: get_allocator

From cppreference.net

allocator_type get_allocator ( ) const ;
(自 C++11 起为 noexcept)
(自 C++26 起为 constexpr)

返回与容器关联的分配器。

返回值

关联的分配器。

复杂度

常量。