public member function
<unordered_map>

std::unordered_multimap::get_allocator

allocator_type get_allocator() const noexcept;
Get allocator
Returns the allocator object used to construct the container.

Parameters

none

Return 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