命名空间
变体
操作

std::multimap<Key,T,Compare,Allocator>::get_allocator

来自 cppreference.cn
< cpp‎ | container‎ | multimap
 
 
 
 
allocator_type get_allocator() const;
(noexcept since C++11)

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

[edit] 参数

(none)

[edit] 返回值

关联的分配器。

[edit] 复杂度

常数。