命名空间
变体
操作

std::multiset<Key,Compare,Allocator>::get_allocator

来自 cppreference.cn
< cpp‎ | container‎ | multiset
 
 
 
 
allocator_type get_allocator() const;
(noexcept since C++11) (C++11 起无异常抛出)

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

[编辑] 参数

(无)

[编辑] 返回值

关联的分配器。

[编辑] 复杂度

常数。