Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/container/unordered multimap/get allocator"

From cppreference.com
m (1 revision: import content)
m (Add link to edit the included template)
Line 1: Line 1:
{{cpp/container/get_allocator|unordered_multimap}}
+
{{cpp/container/get_allocator|unordered_multimap}}

Revision as of 10:41, 14 October 2012

 
 
 
 
allocator_type get_allocator() const noexcept;
(since C++11)
(constexpr since C++26)

Returns the allocator associated with the container.

Return value

The associated allocator.

Complexity

Constant.