CppDS.com

C++ 98 11 14 17 20 手册

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

来自cppreference.com
< cpp‎ | container‎ | multiset

allocator_type get_allocator() const;
(C++11 前)
allocator_type get_allocator() const noexcept;
(C++11 起)

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

参数

(无)

返回值

关联的分配器。

复杂度

常数。

关闭