std::unordered_multiset<Key,Hash,KeyEqual,Allocator>::get_allocator
From cppreference.com
< cpp | container | unordered multiset
C++
Containers library
Sequence | ||||
(C++11) | ||||
(C++11) | ||||
Associative | ||||
Unordered associative | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
Adaptors | ||||
Views | ||||
(C++20) |
std::unordered_multiset
Member functions | ||||
unordered_multiset::get_allocator | ||||
Iterators | ||||
Capacity | ||||
Modifiers | ||||
(C++17) | ||||
(C++17) | ||||
Lookup | ||||
(C++20) | ||||
Bucket interface | ||||
Hash policy | ||||
Observers | ||||
Non-member functions | ||||
(until C++20) | ||||
(C++20) | ||||
Deduction guides(C++17) |
allocator_type get_allocator() const noexcept; |
(since C++11) | |
Returns the allocator associated with the container.
Parameters
(none)
Return value
The associated allocator.
Complexity
Constant.