std::unordered_multimap<Key,T,Hash,KeyEqual,Allocator>::get_allocator

来自cppreference.com
 
 
 
 
allocator_type get_allocator() const noexcept;
(C++11 起)
(C++26 起为 constexpr)

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

[编辑] 返回值

关联的分配器。

[编辑] 复杂度

常数。