std::unordered_multiset<Key,Hash,KeyEqual,Allocator>::get_allocator

来自cppreference.com
 
 
容器库
序列
(C++11)
关联
无序关联
适配器
视图
(C++20)
 
 
allocator_type get_allocator() const noexcept;
(C++11 起)

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

[编辑] 参数

(无)

[编辑] 返回值

关联的分配器。

[编辑] 复杂度

常数。