Namespaces
Variants
Views
Actions

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

From cppreference.com
m (Shorten template names. Use {{lc}} where appropriate.)
m (langlinks)
 
Line 1: Line 1:
 
{{include page|cpp/container/get_allocator|unordered_multimap}}
 
{{include page|cpp/container/get_allocator|unordered_multimap}}
  
[[de:cpp/container/unordered multimap/get allocator]]
+
deesfritjaptruzh
[[es:cpp/container/unordered multimap/get allocator]]
+
[[fr:cpp/container/unordered multimap/get allocator]]
+
[[it:cpp/container/unordered multimap/get allocator]]
+
[[ja:cpp/container/unordered multimap/get allocator]]
+
[[pt:cpp/container/unordered multimap/get allocator]]
+
[[ru:cpp/container/unordered multimap/get allocator]]
+
[[zh:cpp/container/unordered multimap/get allocator]]
+

Latest revision as of 11:51, 4 December 2021

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

Returns the allocator associated with the container.

[edit] Return value

The associated allocator.

[edit] Complexity

Constant.