public member function
<unordered_map>
std::unordered_multimap::get_allocator
allocator_type get_allocator() const noexcept;
Get allocator
Parameters
noneReturn Value
The allocator.Member type
allocator_type is the type of the allocator used by the container, defined in unordered_multimap as an alias of its fifth template parameter (Alloc).Complexity
Constant.Iterator validity
No changes.See also
- unordered_multimap::hash_function
- Get hash function (public member type)
- unordered_multimap::key_eq
- Get key equivalence predicate (public member type)
- allocator
- Default allocator (class template)